commit | e4c30195c5f6dc7a144cfe4ee160b18626626612 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Mon Jun 04 15:08:24 2012 +0300 |
committer | Andrey Andreev <narf@bofh.bg> | Mon Jun 04 15:08:24 2012 +0300 |
tree | 737686c04a05b8d4e21415f37018ea9453738cb0 | |
parent | 9ba661b02c492e89028e5c67b7edbfc0efefc9f1 [diff] [blame] |
Revert/optimize some changes from 48a2baf0e288accd206f5da5031d29076e130792
diff --git a/system/database/drivers/mysql/mysql_driver.php b/system/database/drivers/mysql/mysql_driver.php index fc9bbdc..5937b22 100644 --- a/system/database/drivers/mysql/mysql_driver.php +++ b/system/database/drivers/mysql/mysql_driver.php
@@ -68,7 +68,7 @@ { parent::__construct($params); - if ($this->port !== '') + if ( ! empty($this->port)) { $this->hostname .= ':'.$this->port; }