summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-12-15 17:24:44 +0545
committerPhil Davis <phil.davis@inf.org>2015-12-15 17:24:44 +0545
commit4cb4d820a9876926693f541b2c81dcedda6423c5 (patch)
treefc6fb417cbe502109fbb4e9a69d42727b164f8fc /src/usr/local/www
parent5d527ce6126e14cfd9856b60d22f48caf647c66c (diff)
downloadpfsense-4cb4d820a9876926693f541b2c81dcedda6423c5.zip
pfsense-4cb4d820a9876926693f541b2c81dcedda6423c5.tar.gz
pkg_edit curlies
This looks wrong - with the way the curlies were, the custom_php_after_form_command stuff was inside the ($pkg['note'] != "") block. It looks like these should be 2 independent if statement blocks.
Diffstat (limited to 'src/usr/local/www')
-rw-r--r--src/usr/local/www/pkg_edit.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/local/www/pkg_edit.php b/src/usr/local/www/pkg_edit.php
index 7a51378..4333da9 100644
--- a/src/usr/local/www/pkg_edit.php
+++ b/src/usr/local/www/pkg_edit.php
@@ -1432,8 +1432,9 @@ print($form);
if ($pkg['note'] != "") {
print_info_box($pkg['note']);
+}
-if ($pkg['custom_php_after_form_command'])
+if ($pkg['custom_php_after_form_command']) {
eval($pkg['custom_php_after_form_command']);
}
OpenPOWER on IntegriCloud