diff options
author | BBcan177 <bbcan177@gmail.com> | 2016-07-01 17:11:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-01 17:11:20 -0400 |
commit | 6e78a06f61d0a7050d44fc1fdb0fd3b7810fb18c (patch) | |
tree | cbbee9640c26a02deccbf7e2eb0817e7c27e1040 /src | |
parent | 591b9184cba38d6d960cd83861fdb922c17dc2cb (diff) | |
download | pfsense-6e78a06f61d0a7050d44fc1fdb0fd3b7810fb18c.zip pfsense-6e78a06f61d0a7050d44fc1fdb0fd3b7810fb18c.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.php | 8 |
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.'); |