Update setup.php

php 8.1 deprecation for function_exists(): Passing null to parameter
This commit is contained in:
tsgoff 2023-01-18 23:15:24 +01:00 committed by GitHub
parent 0b4be37433
commit f8bfe19f1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@
unset($_POST['_ACTION']);
unset($_POST['_SUBMIT']);
$error = ((function_exists($action)) ? $action() : '');
$error = ((function_exists($action ?? '')) ? $action() : '');
if($configfile=='') $error .= "<br>'configfile' for this step is missing";
if($error=='') {