Merge pull request #54 from tsgoff/patch-1

setup.php php 8.1 deprecation for function_exists(): Passing null to parameter
This commit is contained in:
OpenXE-ERP 2023-01-19 10:53:11 +01:00 committed by GitHub
commit ce11caac12
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=='') {