diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-23 19:54:06 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-23 19:54:06 +0200 |
commit | 754e2215748a2dc5d326d70b70675dc3b018e30c (patch) | |
tree | fc654e517d1694a9ca73be3688a2569898f2362c | |
parent | 3345ee5133e6cf83506a46b306b3df18cba14b0e (diff) |
Fix the subdriver check
-rw-r--r-- | system/database/DB.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB.php b/system/database/DB.php index 638b51bdd..313728f07 100644 --- a/system/database/DB.php +++ b/system/database/DB.php @@ -156,7 +156,7 @@ function &DB($params = '', $query_builder_override = NULL) $DB = new $driver($params); // Check for a subdriver - if ( ! empty($DB->subdriver) && empty($params['subdriver'])) + if ( ! empty($DB->subdriver)) { $driver_file = BASEPATH.'database/drivers/'.$param['dbdriver'].'/subdrivers/'.$params['dbdriver'].'_'.$params['subdriver'].'_driver.php'; |