Commit bd578160 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Fix index undefined

parent 4226f856
Pipeline #1948 passed with stages
in 2 minutes and 35 seconds
......@@ -169,9 +169,11 @@ class DatabaseUpdate {
return null;
}
if ($_GET[ACTION_FUNCTION_UPDATE] === ACTION_FUNCTION_UPDATE_NEXT_UPDATE) {
$actionFunction = $_GET[ACTION_FUNCTION_UPDATE] ?? '';
if ($actionFunction === ACTION_FUNCTION_UPDATE_NEXT_UPDATE) {
return ACTION_FUNCTION_UPDATE_NOT_PERFORMED;
} elseif ($_GET[ACTION_FUNCTION_UPDATE] === ACTION_FUNCTION_UPDATE_NEVER) {
} elseif ($actionFunction === ACTION_FUNCTION_UPDATE_NEVER) {
return ACTION_FUNCTION_UPDATE_NEVER;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment