Init DB\IO dbh with null to avoid any problems
There could have been some problems where the dbh var was not touched even thought it was inited.
This commit is contained in:
1 parent
8497144053
commit
eba1ef9c59
1 file changed
+1
-1
@@ -309,7 +309,7 @@ class IO
|
||||
// basic vars
|
||||
// the dbh handler, if disconnected by command is null, bool:false on error,
|
||||
/** @var \PgSql\Connection|false|null */
|
||||
private \PgSql\Connection|false|null $dbh;
|
||||
private \PgSql\Connection|false|null $dbh = null;
|
||||
/** @var bool DB_DEBUG ... (if set prints out debug msgs) */
|
||||
private bool $db_debug = false;
|
||||
/** @var string the DB connected to */
|
||||
|
||||
Reference in new issue
Block a user