Skip to content
Browse files

Call parent::__construct() in our constructor

  • Loading branch information...
1 parent c6953f4 commit ca7e5f1eb15408b9d71e55d9a0e54b96f5ddc6aa @narfbg narfbg committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 system/database/drivers/cubrid/cubrid_driver.php
View
4 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 == '')
{

0 comments on commit ca7e5f1

Please sign in to comment.
Something went wrong with that request. Please try again.