Skip to content

Commit

Permalink
fix the initialization of static variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sajed-zarrinpour committed Sep 14, 2024
1 parent 367dde3 commit 1d1ff8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ private static function sanitizer($input)
}
else if($type === 'string')
{
self::__init__statics();

$mysqli = new \mysqli(
self::$host,
self::$user,
Expand Down

0 comments on commit 1d1ff8d

Please sign in to comment.