summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2006-11-23 19:08:26 +0100
committerRick Ellis <rick.ellis@ellislab.com>2006-11-23 19:08:26 +0100
commit6b151050a80aa62808a5afc5a4c934f8bfb47512 (patch)
tree5436f7d7fc7a7da0434309d4a4ac2712f45ce780
parent205971012e9cd8e2cebf2ea798f45629f9849723 (diff)
-rw-r--r--system/database/drivers/mysqli/mysqli_result.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/mysqli/mysqli_result.php b/system/database/drivers/mysqli/mysqli_result.php
index be7ec356c..57c89ea80 100644
--- a/system/database/drivers/mysqli/mysqli_result.php
+++ b/system/database/drivers/mysqli/mysqli_result.php
@@ -63,7 +63,7 @@ class CI_DB_mysqli_result extends CI_DB_result {
function list_fields()
{
$field_names = array();
- while ($field = mysql_fetch_field($this->result_id))
+ while ($field = mysqli_fetch_field($this->result_id))
{
$field_names[] = $field->name;
}