summaryrefslogtreecommitdiffstats
path: root/src
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:38 -0500
commitd07ae60cf173309390f7e2fd180d1877d6d33ec8 (patch)
treeb75fa7b00f2e13cd64fc40947ce18009d40ea7d9 /src
parentf3174943b521c154ce9fc445cbedee543cbdc424 (diff)
downloadpfsense-d07ae60cf173309390f7e2fd180d1877d6d33ec8.zip
pfsense-d07ae60cf173309390f7e2fd180d1877d6d33ec8.tar.gz
Fix undefined constant
Notice: Use of undefined constant min - assumed 'min' Notice: Use of undefined constant max - assumed 'max'
Diffstat (limited to 'src')
-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