diff options
| author | 2015-06-03 22:17:40 +0200 | |
|---|---|---|
| committer | 2015-06-03 22:17:40 +0200 | |
| commit | 9b512b82e2e65c6ca18199ed328de2645a7bc84e (patch) | |
| tree | 6dbe9aeeade42521286829208d0d691b35e477f2 /lib/Minz | |
| parent | 568ab2313d5a922e06d7f0c33b3e39dd152d43db (diff) | |
PDO config isset
https://github.com/FreshRSS/FreshRSS/issues/868
Diffstat (limited to 'lib/Minz')
| -rw-r--r-- | lib/Minz/ModelPdo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/ModelPdo.php b/lib/Minz/ModelPdo.php index e82c1f30a..25999f02b 100644 --- a/lib/Minz/ModelPdo.php +++ b/lib/Minz/ModelPdo.php @@ -53,7 +53,7 @@ class Minz_ModelPdo { $this->current_user = $currentUser; self::$sharedCurrentUser = $currentUser; - $driver_options = is_array($conf->db['pdo_options']) ? $conf->db['pdo_options'] : array(); + $driver_options = isset($conf->db['pdo_options']) && is_array($conf->db['pdo_options']) ? $conf->db['pdo_options'] : array(); try { $type = $db['type']; |
