summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_utility.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php
index e64e008bc..d7018bf2b 100644
--- a/system/database/DB_utility.php
+++ b/system/database/DB_utility.php
@@ -235,7 +235,7 @@ class CI_DB_utility {
$out = '';
// First generate the headings from the table column names
- foreach ($query->field_names() as $name)
+ foreach ($query->list_fields() as $name)
{
$out .= $name.$delim;
}