Bug #8242
closedUnable to edit firewall rules
100%
Description
Upon trying to edit firewall rules an error was presented
Catchable fatal error: Argument 2 passed to Form_Input::setHelp() must be of the type array, string given, called in /usr/local/www/firewall_rules_edit.php on line 1710 and defined in /usr/local/www/classes/Form/Input.class.php on line 145 PHP ERROR: Type: 4096, File: /usr/local/www/classes/Form/Input.class.php, Line: 145, Message: Argument 2 passed to Form_Input::setHelp() must be of the type array, string given,
10:04 PM called in /usr/local/www/firewall_rules_edit.php on line 1710 and defined
Possible solution
Edit file /usr/local/www/firewall_rules_edit.php go to line 1710 & Remove the following %s '<br />' from the line
Updated by Pi Ba almost 7 years ago
Was found on 2.3.6.a.20171227.0928, and 'target version' should be set to 2.3.6 if possible. (that can only be changed by staff though, i'm not)
Updated by Jim Pingle almost 7 years ago
- Assignee set to Jim Pingle
- Target version set to 2.3.6
Looks like this was a 2.4-ism that got picked back into RELENG_2_3. I pushed a fix that keeps the formatting.
Updated by Jim Pingle almost 7 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 34300d739bfd7968e7e693f2a6302d49203ef4d0.