From f8bfe19f1da1d31f94b6ba83af601311bebd2bf5 Mon Sep 17 00:00:00 2001 From: tsgoff Date: Wed, 18 Jan 2023 23:15:24 +0100 Subject: [PATCH] Update setup.php php 8.1 deprecation for function_exists(): Passing null to parameter --- www/setup/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/setup/setup.php b/www/setup/setup.php index d9ca7af8..bf3cced7 100644 --- a/www/setup/setup.php +++ b/www/setup/setup.php @@ -101,7 +101,7 @@ unset($_POST['_ACTION']); unset($_POST['_SUBMIT']); - $error = ((function_exists($action)) ? $action() : ''); + $error = ((function_exists($action ?? '')) ? $action() : ''); if($configfile=='') $error .= "
'configfile' for this step is missing"; if($error=='') {