Skip to content

Commit 27d0232

Browse files
committed
Minor - add exit to avoid continue executing page after an error.
1 parent 791b56e commit 27d0232

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main/inc/lib/database.lib.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ public static function handleError($e)
407407
} else {
408408
error_log($e->getMessage());
409409
api_not_allowed(false, get_lang('GeneralError'));
410+
exit;
410411
}
411412
}
412413

0 commit comments

Comments
 (0)