fixed database handler for DBmodel in Maintenance,
added test4 for Maintenance
This commit is contained in:
@ -27,7 +27,7 @@ class DBmodel
|
||||
public $log = null;
|
||||
public $tables = array();
|
||||
|
||||
public function __construct(string $dsn = null, ?string $username = null, #[\SensitiveParameter] ?string $password = null, ?array $options = null)
|
||||
public function __construct(?string $dsn = null, ?string $username = null, #[\SensitiveParameter] ?string $password = null, ?array $options = null)
|
||||
{
|
||||
if (is_null($dsn)) {
|
||||
if (DBmodel::$instance) {
|
||||
|
||||
Reference in New Issue
Block a user