mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-24 13:40:29 +01:00
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:
commit
ce11caac12
@ -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=='') {
|
||||
|
Loading…
Reference in New Issue
Block a user