Ticket #36 (closed Bug: fixed)

Opened 16 months ago

Last modified 16 months ago

CI_DB_postgre_driver::insert_id() throws PHP fatal error

Reported by: JAAulde Owned by: JAAulde
Priority: major Milestone: 1.0
Component: Version:
Keywords: Cc:

Description (last modified by JAAulde) (diff)

In system/database/drivers/postgre/postgre_driver.php CI_DB_postgre_driver defines a method, CI_DB_postgre_driver::_version()

CI_DB_postgre_driver:insert_id(), however, tries to invoke this method on line 233 as follows:

$v = version($this->conn_id);

This throws a PHP Fatal error for undefined function for obvious reasons. Code on line 233 should read:

$v = $this->_version($this->conn_id);

Also reported to CI: http://codeigniter.com/bug_tracker/bug/1831/

Change History

Changed 16 months ago by JAAulde

  • description modified (diff)

Changed 16 months ago by phoop

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.