Commit c8621485 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) 0 vs null in interfaces_ppps_edit.php

parent 499b58ee
......@@ -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') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment