mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
Update setup.php
php 8.1 deprecation for function_exists(): Passing null to parameter
This commit is contained in:
parent
0b4be37433
commit
f8bfe19f1d
@ -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