Project

General

Profile

« Previous | Next » 

Revision 4cb4d820

Added by Phil Davis over 9 years ago

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.

View differences:

src/usr/local/www/pkg_edit.php
1432 1432

  
1433 1433
if ($pkg['note'] != "") {
1434 1434
	print_info_box($pkg['note']);
1435
}
1435 1436

  
1436
if ($pkg['custom_php_after_form_command'])
1437
if ($pkg['custom_php_after_form_command']) {
1437 1438
	eval($pkg['custom_php_after_form_command']);
1438 1439
}
1439 1440

  

Also available in: Unified diff