fix regression reported by @asig2016 after big warning fix

This commit is contained in:
Ralf Becker 2021-10-23 09:55:01 +02:00
parent 877d8b9c71
commit 12c6b57ed0

View File

@ -232,7 +232,7 @@ class Asyncservice
{
if ((string)$t == '*') $t = '*/1';
list($one,$inc) = $arr = explode('/',$t)+[null,null];
list($one,$inc) = ($arr = explode('/', $t))+[null,null];
if (!(is_numeric($one) && count($arr) == 1 ||
count($arr) == 2 && is_numeric($inc)))
@ -247,7 +247,7 @@ class Asyncservice
}
else
{
list($min,$max) = $arr = explode('-',$one)+[null,null];
list($min,$max) = ($arr = explode('-', $one))+[null,null];
if (empty($one) || $one == '*')
{
$min = $min_unit[$u];