From 1d1ff8d7aae062a01d54aa2892766ce24b54a498 Mon Sep 17 00:00:00 2001 From: Sajed Zarinpour Nashroudkoli Date: Sat, 14 Sep 2024 15:57:34 -0400 Subject: [PATCH] fix the initialization of static variables --- src/Mysql.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mysql.php b/src/Mysql.php index a2877b6..566a777 100755 --- a/src/Mysql.php +++ b/src/Mysql.php @@ -131,6 +131,8 @@ private static function sanitizer($input) } else if($type === 'string') { + self::__init__statics(); + $mysqli = new \mysqli( self::$host, self::$user,