diff options
author | Phil Davis <phil.davis@inf.org> | 2015-12-15 17:24:44 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-12-15 17:24:44 +0545 |
commit | 4cb4d820a9876926693f541b2c81dcedda6423c5 (patch) | |
tree | fc6fb417cbe502109fbb4e9a69d42727b164f8fc /src/usr/local | |
parent | 5d527ce6126e14cfd9856b60d22f48caf647c66c (diff) | |
download | pfsense-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')
-rw-r--r-- | src/usr/local/www/pkg_edit.php | 3 |
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']); } |