You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we always use $this->db = \Config\Database::connect();
To connect db
`//line 82
if ($getShared && isset(self::$instances[$group]))
{
return self::$instances[$group];
}
//other code
//line 108
self::$instances[$group] =& $connection;`
This code will never save instance because $group is NULL
The text was updated successfully, but these errors were encountered:
See system/Database/Config.php line 82 and 108
If we always use
$this->db = \Config\Database::connect();
To connect db
`//line 82
if ($getShared && isset(self::$instances[$group]))
{
return self::$instances[$group];
}
//other code
//line 108
self::$instances[$group] =& $connection;`
This code will never save instance because $group is NULL
The text was updated successfully, but these errors were encountered: