1. brandon15811
  2. CodeIgniter Reactor

Commits

Derek Jones  committed 3ea9cab

typo in modification to MySQLi driver. Fixes #236

  • Participants
  • Parent commits 6b7d47f
  • Branches default

Comments (0)

Files changed (1)

File system/database/drivers/mysqli/mysqli_driver.php

View file
  • Ignore whitespace
 		if ( ! isset($use_set_names))
 		{
 			// mysqli_set_charset() requires MySQL >= 5.0.7, use SET NAMES as fallback
-			$use_set_names = (version_compare(mysql_get_server_info(), '5.0.7', '>=')) ? FALSE : TRUE;
+			$use_set_names = (version_compare(mysqli_get_server_info($this->conn_id), '5.0.7', '>=')) ? FALSE : TRUE;
 		}
 
 		if ($use_set_names)