mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Fixed up a whole bunch of undefined variable warnings. Added a check to make sure raspap.auth exists before trying to include it.
This commit is contained in:
@@ -78,6 +78,10 @@ function DisplayDHCPConfig() {
|
||||
$RangeMask = $arrRange[2];
|
||||
preg_match( '/([0-9]*)([a-z])/i', $arrRange[3], $arrRangeLeaseTime );
|
||||
|
||||
$hselected = '';
|
||||
$mselected = '';
|
||||
$dselected = '';
|
||||
|
||||
switch( $arrRangeLeaseTime[2] ) {
|
||||
case "h":
|
||||
$hselected = " selected";
|
||||
|
Reference in New Issue
Block a user