From 86a80b09087bad9b519e1025d9daa039569e65d5 Mon Sep 17 00:00:00 2001 From: BBcan177 Date: Fri, 1 Jul 2016 17:11:20 -0400 Subject: Fix undefined constant Notice: Use of undefined constant min - assumed 'min' Notice: Use of undefined constant max - assumed 'max' --- src/usr/local/www/interfaces.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php index 9a76f94..c880904 100644 --- a/src/usr/local/www/interfaces.php +++ b/src/usr/local/www/interfaces.php @@ -2603,7 +2603,7 @@ $section->addInput(new Form_Input( 'Idle timeout', 'number', $pconfig['pppoe_idletimeout'], - [min => 0] + ['min' => 0] ))->setHelp('If no qualifying outgoing packets are transmitted for the specified number of seconds, the connection is brought down. ' . 'An idle timeout of zero disables this feature.'); @@ -2622,7 +2622,7 @@ $group->add(new Form_Input( null, 'number', $pconfig['pppoe_resethour'], - [min => 0, max => 23] + ['min' => 0, 'max' => 23] ))->setHelp('Hour (0-23)'); $group->add(new Form_Input( @@ -2630,7 +2630,7 @@ $group->add(new Form_Input( null, 'number', $pconfig['pppoe_resetminute'], - [min => 0, max => 59] + ['min' => 0, 'max' => 59] ))->setHelp('Minutes (0-59)'); $group->add(new Form_Input( @@ -2734,7 +2734,7 @@ $section->addInput(new Form_Input( 'Idle timeout (seconds)', 'number', $pconfig['pptp_idletimeout'], - [min => 0] + ['min' => 0] ))->setHelp('If no qualifying outgoing packets are transmitted for the specified number of seconds, the connection is brought down. ' . 'An idle timeout of zero disables this feature.'); -- cgit v1.1