From 042718d215d3529e75fccd794be5d0a62188e24d Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Fri, 22 Sep 2023 17:29:41 -0700 Subject: [PATCH] mixer - Fix warning on php81 --- tools/mixin/bin/mixer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mixin/bin/mixer b/tools/mixin/bin/mixer index 8f86e7299e..d03c5c630e 100755 --- a/tools/mixin/bin/mixer +++ b/tools/mixin/bin/mixer @@ -274,7 +274,7 @@ function main($args) { } } - if (function_exists($task)) { + if ($task && function_exists($task)) { call_user_func($task, $newOptions, ...$newArgs); } else { -- 2.25.1