mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 17:44:41 +00:00
(legacy) 0 vs null in interfaces_ppps_edit.php
This commit is contained in:
parent
499b58eeb3
commit
c8621485c2
@ -95,7 +95,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
$pconfig['pppoe_resetwday'] = $cronitem['wday'];
|
||||
}
|
||||
}
|
||||
if (empty($pconfig['ptpid'])) {
|
||||
if ($pconfig['ptpid'] == null) {
|
||||
$pconfig['ptpid'] = interfaces_ptpid_next();
|
||||
}
|
||||
} elseif ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user