summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBBcan177 <bbcan177@gmail.com>2016-07-01 17:11:20 -0400
committerChris Buechler <cmb@pfsense.org>2016-07-01 16:49:48 -0500
commit86a80b09087bad9b519e1025d9daa039569e65d5 (patch)
treed873767747efea6d1a13931c6a592690126016a1
parent237eb3d9a771df148c9616f1455ac1e9272cef7b (diff)
downloadpfsense-86a80b09087bad9b519e1025d9daa039569e65d5.zip
pfsense-86a80b09087bad9b519e1025d9daa039569e65d5.tar.gz
Fix undefined constant
Notice: Use of undefined constant min - assumed 'min' Notice: Use of undefined constant max - assumed 'max'
-rw-r--r--src/usr/local/www/interfaces.php8
1 files 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.');
OpenPOWER on IntegriCloud