mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
fix regression reported by @asig2016 after big warning fix
This commit is contained in:
parent
ab216c39ca
commit
09cb38541b
@ -232,7 +232,7 @@ class Asyncservice
|
|||||||
{
|
{
|
||||||
if ((string)$t == '*') $t = '*/1';
|
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 ||
|
if (!(is_numeric($one) && count($arr) == 1 ||
|
||||||
count($arr) == 2 && is_numeric($inc)))
|
count($arr) == 2 && is_numeric($inc)))
|
||||||
@ -247,7 +247,7 @@ class Asyncservice
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
list($min,$max) = $arr = explode('-',$one)+[null,null];
|
list($min,$max) = ($arr = explode('-', $one))+[null,null];
|
||||||
if (empty($one) || $one == '*')
|
if (empty($one) || $one == '*')
|
||||||
{
|
{
|
||||||
$min = $min_unit[$u];
|
$min = $min_unit[$u];
|
||||||
|
Loading…
Reference in New Issue
Block a user