summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-01-26 16:58:28 +0100
committerAndrey Andreev <narf@bofh.bg>2012-01-26 16:58:28 +0100
commitca7e5f1eb15408b9d71e55d9a0e54b96f5ddc6aa (patch)
treeefc2d48a1abdf509182f63444fee04d49a9eb042 /system
parentc6953f4077fe3ee394abb37eaa0575527bd013cc (diff)
Call parent::__construct() in our constructor
Diffstat (limited to 'system')
-rw-r--r--system/database/drivers/cubrid/cubrid_driver.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/database/drivers/cubrid/cubrid_driver.php b/system/database/drivers/cubrid/cubrid_driver.php
index b89746b7d..d1fc5f0fa 100644
--- a/system/database/drivers/cubrid/cubrid_driver.php
+++ b/system/database/drivers/cubrid/cubrid_driver.php
@@ -57,8 +57,10 @@ class CI_DB_cubrid_driver extends CI_DB {
protected $_count_string = 'SELECT COUNT(*) AS ';
protected $_random_keyword = ' RAND()'; // database specific random keyword
- public function __construct()
+ public function __construct($params)
{
+ parent::__construct($params);
+
// If no port is defined by the user, use the default value
if ($this->port == '')
{