(legacy) 0 vs null in interfaces_ppps_edit.php

This commit is contained in:
Ad Schellevis 2015-12-29 21:40:19 +01:00
parent 499b58eeb3
commit c8621485c2

View File

@ -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') {