[eluser]crossett[/eluser]
Move the line of code that reads “$RES->num_rows = $RES->num_rows();” below the if block in system/database/DB_driver.php. It is around line 325.
$driver = $this->load_rdriver();
$RES = new $driver();
$RES->conn_id = $this->conn_id;
$RES->result_id = $this->result_id;
if ($this->dbdriver == ‘oci8’)
{
$RES->stmt_id = $this->stmt_id;
$RES->curs_id = NULL;
$RES->limit_used = $this->limit_used;
}
$RES->num_rows = $RES->num_rows();