diff --git a/src/www/interfaces.php b/src/www/interfaces.php index 8d5d3e4ac..70e96bdc9 100644 --- a/src/www/interfaces.php +++ b/src/www/interfaces.php @@ -2265,7 +2265,7 @@ include("head.inc");
"*" && $pconfig['pppoe_resetmonth'] <> "*") { + if (!empty($pconfig['pppoe_resetmday']) && $pconfig['pppoe_resetmday'] <> "*" && $pconfig['pppoe_resetmonth'] <> "*") { $pconfig['pppoe_resetdate'] = "{$pconfig['pppoe_resetmonth']}/{$pconfig['pppoe_resetmday']}/" . date("Y"); } ?>