diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-12-02 11:09:38 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-12-02 11:09:38 -0500 |
commit | 13d0013d6c5df75cb2c540c49072b3570b8e8237 (patch) | |
tree | 309cfc1b89ec1ada28248832ddbebdd8f538d047 /src/usr/local/www | |
parent | a51c7c7f471cb615cc05f96661ca4cb624ce2e19 (diff) | |
download | pfsense-13d0013d6c5df75cb2c540c49072b3570b8e8237.zip pfsense-13d0013d6c5df75cb2c540c49072b3570b8e8237.tar.gz |
Fixed #5564
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/interfaces_ppps_edit.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/www/interfaces_ppps_edit.php b/src/usr/local/www/interfaces_ppps_edit.php index 54cbba6..200d208 100644 --- a/src/usr/local/www/interfaces_ppps_edit.php +++ b/src/usr/local/www/interfaces_ppps_edit.php @@ -490,7 +490,6 @@ function build_link_list() { if($pconfig['type'] == 'ppp') { $serialports = glob("/dev/cua[a-zA-Z][0-9]{,.[0-9],.[0-9][0-9],[0-9],[0-9].[0-9],[0-9].[0-9][0-9]}", GLOB_BRACE); - $serport_count = 0; foreach ($serialports as $port) { @@ -682,7 +681,7 @@ $section->addInput(new Form_Checkbox( 'uptime', 'Uptime logging', 'Enable persistent logging of connection uptime. ', - $pconfig['uptime'] + isset($pconfig['uptime']) ))->setHelp(sprintf('Causes cumulative uptime to be recorded and displayed on the %sStatus->Interfaces%s page.', '<a href="status_interfaces.php">', '</a>')); $group = new Form_Group('Service name'); |