diff --git a/src/www/interfaces_ppps_edit.php b/src/www/interfaces_ppps_edit.php index ba644c2a1..bd339815c 100644 --- a/src/www/interfaces_ppps_edit.php +++ b/src/www/interfaces_ppps_edit.php @@ -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') {