View Single Post
  #15  
Old 28th May 2010, 20:44
BorderAmigos BorderAmigos is offline
Senior Member
 
Join Date: Apr 2008
Location: San Diego & Tijuana
Posts: 302
Thanks: 26
Thanked 33 Times in 31 Posts
Send a message via MSN to BorderAmigos Send a message via Yahoo to BorderAmigos
Default

Line 280 is
Code:
$diffstr = $app->db->quote(serialize($diffrec_full));
Changing it to
Code:
$diffstr = $this>quote(serialize($diffrec_full));
Does not fix it.

$diffrec_full comes from
Code:
$tmp = $this->diffrec($record_old, $record_new);
$diffrec_full = $tmp['diff_rec'];
where $record_old and $record_new are passed from $old_rec and $new_rec respectively, one is an object, one is not.
Code:
$old_rec = array();
$new_rec = $this->queryOneRecord("SELECT * FROM $tablename WHERE $index_field = '$index_value'");
------------

Changing
Code:
$old_rec = array();
to
Code:
$old_rec = (object) array();
fixes the error. I don't think I am misinterpreting.
__________________
System6Hosting.com, ISPConfig 3, Debian.

Last edited by BorderAmigos; 28th May 2010 at 20:53.
Reply With Quote