diff options
author | Rick Ellis <rick.ellis@ellislab.com> | 2008-10-17 06:30:55 +0200 |
---|---|---|
committer | Rick Ellis <rick.ellis@ellislab.com> | 2008-10-17 06:30:55 +0200 |
commit | 5e189cc5bf2081a54474262e06d0add8d5ed389c (patch) | |
tree | 0bdb17600887fb606a18344f044cda995e0c081c /system/database | |
parent | 788d95a24e5b3ce0091b44d721d587fa7a89f452 (diff) |
Added a call to the parent contructor, as this was causing errors.
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/drivers/odbc/odbc_driver.php | 8 |
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
}
|