From 4cb4d820a9876926693f541b2c81dcedda6423c5 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Tue, 15 Dec 2015 17:24:44 +0545 Subject: 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. --- src/usr/local/www/pkg_edit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/usr/local/www') 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']); } -- cgit v1.1