raw_db should always return something

This commit is contained in:
Shish 2023-02-14 01:14:49 +00:00
parent 3040c1d5b5
commit ede2dc7cfe

View File

@ -336,6 +336,9 @@ class Database
public function raw_db(): PDO
{
if (is_null($this->db)) {
$this->connect_db();
}
return $this->db;
}