diff options
Diffstat (limited to 'usr/local/www/exec.php')
-rw-r--r-- | usr/local/www/exec.php | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php index c1eb4bb..b95b72b 100644 --- a/usr/local/www/exec.php +++ b/usr/local/www/exec.php @@ -103,13 +103,14 @@ include("head.inc"); <?php if (isBlank( $_POST['txtRecallBuffer'] )) { - puts( " var arrRecallBuffer = new Array;" ); + puts( " var arrRecallBuffer = new Array;" ); } else { - puts( " var arrRecallBuffer = new Array(" ); - $arrBuffer = explode( "&", $_POST['txtRecallBuffer'] ); - for ($i=0; $i < (count( $arrBuffer ) - 1); $i++) puts( " '" . htmlspecialchars($arrBuffer[$i]) . "'," ); - puts( " '" . htmlspecialchars($arrBuffer[count( $arrBuffer ) - 1]) . "'" ); - puts( " );" ); + puts( " var arrRecallBuffer = new Array(" ); + $arrBuffer = explode( "&", $_POST['txtRecallBuffer'] ); + for ($i=0; $i < (count( $arrBuffer ) - 1); $i++) + puts( " '" . htmlspecialchars($arrBuffer[$i]) . "'," ); + puts( " '" . htmlspecialchars($arrBuffer[count( $arrBuffer ) - 1]) . "'" ); + puts( " );" ); } ?> |