This commit is contained in:
Daniel
2025-03-10 16:44:42 +08:00
committed by GitHub
parent a0f179a7e7
commit e9d3de0c25
5 changed files with 10 additions and 10 deletions

View File

@@ -133,7 +133,7 @@ class Database
* if set to false, the error will be logged, but we go on
* @throws Exception
*/
private static function showerror(Exception $error, bool $showerror = true, bool $json_response = false, PDOStatement $stmt = null)
private static function showerror(Exception $error, bool $showerror = true, bool $json_response = false, ?PDOStatement $stmt = null)
{
global $userinfo, $theme, $linker;