diff options
author | k-paulius <k.dash.paulius@gmail.com> | 2015-07-27 21:29:42 -0500 |
---|---|---|
committer | k-paulius <k.dash.paulius@gmail.com> | 2015-07-27 21:29:42 -0500 |
commit | 8141416fb2dab0349a938eeaa2563253b489dfe7 (patch) | |
tree | c59638612fd1c6f418f33916b075e7e30cad0269 | |
parent | dd03760e9b9797b097b573198eeaa20a2e207ec9 (diff) | |
download | pfsense-8141416fb2dab0349a938eeaa2563253b489dfe7.zip pfsense-8141416fb2dab0349a938eeaa2563253b489dfe7.tar.gz |
Revert "Replace space to tab indentations"
This reverts commit ff01ab1a7460a6061f2df3f8cf50b744ba5dc912.
-rwxr-xr-x | usr/local/www/pkg.php | 2 | ||||
-rw-r--r-- | usr/local/www/pkg_edit.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/pkg.php b/usr/local/www/pkg.php index efd6330..bc264af 100755 --- a/usr/local/www/pkg.php +++ b/usr/local/www/pkg.php @@ -489,7 +489,7 @@ include("head.inc"); // Handle pagination and display_maximum_rows if ($display_maximum_rows) { if ($pagination_counter == ($display_maximum_rows-1) or - $i == (count($evaledvar)-1)) { + $i == (count($evaledvar)-1)) { $colcount = count($pkg['adddeleteeditpagefields']['columnitem']); $final_footer = ""; $final_footer .= "<tr><td colspan='$colcount'>"; diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php index 9cd7466..30b7911 100644 --- a/usr/local/www/pkg_edit.php +++ b/usr/local/www/pkg_edit.php @@ -73,7 +73,7 @@ if ($_POST['xml']) { $xml_fullpath = realpath('/usr/local/pkg/' . $xml); if ($xml == "" || $xml_fullpath === false || - substr($xml_fullpath, 0, strlen('/usr/local/pkg/')) != '/usr/local/pkg/') { + substr($xml_fullpath, 0, strlen('/usr/local/pkg/')) != '/usr/local/pkg/') { print_info_box_np(gettext("ERROR: No valid package defined.")); die; } else { @@ -117,7 +117,7 @@ if ($config['installedpackages'] && !is_array($config['installedpackages'][xml_s // If the first entry in the array is an empty <config/> tag, kill it. if ($config['installedpackages'] && (count($config['installedpackages'][xml_safe_fieldname($pkg['name'])]['config']) > 0) - && ($config['installedpackages'][xml_safe_fieldname($pkg['name'])]['config'][0] == "")) { + && ($config['installedpackages'][xml_safe_fieldname($pkg['name'])]['config'][0] == "")) { array_shift($config['installedpackages'][xml_safe_fieldname($pkg['name'])]['config']); } |