From fdc45bfc845da1538f5904583abbafc811bcd3f0 Mon Sep 17 00:00:00 2001 From: Francesco Bianco Date: Mon, 21 Sep 2020 19:15:04 +0200 Subject: [PATCH] introducing lock file #3 --- src/DatabaseAdapter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DatabaseAdapter.php b/src/DatabaseAdapter.php index 54860a6..95652b2 100644 --- a/src/DatabaseAdapter.php +++ b/src/DatabaseAdapter.php @@ -77,7 +77,7 @@ public function __construct($properties) } // Set rootPassword using password as default - if (is_null($this->rootPassword) && !is_null($this->password)) { + if ($this->rootPassword === null && $this->password !== null) { $this->rootPassword = $this->password; }