summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/database/drivers/odbc/odbc_driver.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php
index 50412685d..16c72d828 100644
--- a/system/database/drivers/odbc/odbc_driver.php
+++ b/system/database/drivers/odbc/odbc_driver.php
@@ -46,13 +46,7 @@ class CI_DB_odbc_driver extends CI_DB {
function CI_DB_odbc_driver($params)
{
- if (is_array($params))
- {
- foreach ($params as $key => $val)
- {
- $this->$key = $val;
- }
- }
+ parent::CI_DB($params);
$this->_random_keyword = ' RND('.time().')'; // database specific random keyword
}