diff options
author | admin <devnull@localhost> | 2006-10-12 01:48:41 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-10-12 01:48:41 +0200 |
commit | 606f99c043272f96f21911d89c21cd36c2ef59e4 (patch) | |
tree | 4f73881300630f26dbc2940a11177aceabc82878 /system/libraries/Table.php | |
parent | 4c1ab6c826c3f5c3158a38443c2d3c30203f0f5a (diff) |
Diffstat (limited to 'system/libraries/Table.php')
-rw-r--r-- | system/libraries/Table.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Table.php b/system/libraries/Table.php index 61d04eef5..758676e27 100644 --- a/system/libraries/Table.php +++ b/system/libraries/Table.php @@ -202,12 +202,12 @@ class CI_Table { // First generate the headings from the table column names if (count($this->heading) == 0) { - if ( ! method_exists($query, 'field_names')) + if ( ! method_exists($query, 'list_fields')) { return FALSE; } - $this->heading = $query->field_names(); + $this->heading = $query->list_fields(); } // Next blast through the result array and build out the rows |