CodeIgniter Forums
Issue, in the file system\database\DB_utility.php - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Issue, in the file system\database\DB_utility.php (/showthread.php?tid=12813)



Issue, in the file system\database\DB_utility.php - El Forum - 10-31-2008

[eluser]Prasanna[/eluser]
I have noticed a issue, in the file system\database\DB_utility.php

The line @ line number 178 is like the following:

Code:
if ( ! is_object($query) OR ! method_exists($query, 'field_names'))

And i think it should be

Code:
if ( ! is_object($query) OR ! method_exists($query, 'list_fields'))

as the "field_names" method is DEPRECATED.


Issue, in the file system\database\DB_utility.php - El Forum - 01-02-2009

[eluser]Kamil Rudnicki[/eluser]
You are right, thanks!


Issue, in the file system\database\DB_utility.php - El Forum - 02-16-2009

[eluser]christian studer[/eluser]
The same goes for line 220 in the same file.


Issue, in the file system\database\DB_utility.php - El Forum - 02-16-2009

[eluser]pistolPete[/eluser]
I submitted a bug report.


Issue, in the file system\database\DB_utility.php - El Forum - 01-02-2010

[eluser]Unknown[/eluser]
I ran into this problem also and thanks to the previous posts solved it quickly :-) Thanks so much !

I am new to CodeIgniter - so forgive me if this is common knowledge. Is this fix going to get rolled into a release ? Can I subscribe to the bug report?