mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
php7.2, count() issue in www/firewall_schedule_edit.php for https://github.com/opnsense/core/issues/3400
This commit is contained in:
parent
a0264aaa85
commit
4772e0c5db
@ -100,6 +100,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
$pconfig['descr'] = $a_schedules[$configId]['descr'];
|
||||
$pconfig['timerange'] = isset($a_schedules[$configId]['timerange']) ? $a_schedules[$configId]['timerange'] : array();
|
||||
} elseif ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
$input_errors = array();
|
||||
if (isset($_POST['id']) && isset($a_schedules[$_POST['id']])) {
|
||||
$id = $_POST['id'];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user