From 12c6b57ed0f996d22cdd7d3505b6ccf2d1ccc584 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 23 Oct 2021 09:55:01 +0200 Subject: [PATCH] fix regression reported by @asig2016 after big warning fix --- api/src/Asyncservice.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/Asyncservice.php b/api/src/Asyncservice.php index c672a006e8..172c972122 100644 --- a/api/src/Asyncservice.php +++ b/api/src/Asyncservice.php @@ -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];