From a88803fe5ab4a18d76741586ca7853f5bb90e1f3 Mon Sep 17 00:00:00 2001 From: dman776 Date: Thu, 8 Nov 2018 14:08:51 -0600 Subject: [PATCH] bugfix: correct "Bad Gateway" error on Advanced Config page (#263) --- files/www/cgi-bin/advancedconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/files/www/cgi-bin/advancedconfig b/files/www/cgi-bin/advancedconfig index f02b01d6..083a03d4 100755 --- a/files/www/cgi-bin/advancedconfig +++ b/files/www/cgi-bin/advancedconfig @@ -73,7 +73,7 @@ push @setting, { type => "boolean", desc => "Specifies whether a PoE passthrough port should be on or off. (Not all devices have PoE passthrough ports.", default => "0", - condition => "hasPOE()" + condition => "hasPOE()", postcallback => "setPOEOutput()" }; push @setting, { @@ -81,9 +81,10 @@ push @setting, { type => "boolean", desc => "Specifies whether the USB port should be on or off. (Not all devices have USB powered ports.", default => "1", - postcallback => "setUSBOutput()" - condition => "hasUSB()", + postcallback => "setUSBOutput()", + condition => "hasUSB()" }; + # ---------------------------------------- # ----- CONDITIONS ----------