We shouldn't be pretty_dump()ing the query in production code

develop
Sven Slootweg 12 years ago
parent a1efe9b400
commit bc68bf8969

@ -388,7 +388,7 @@ abstract class CPHPDatabaseRecordClass extends CPHPBaseClass
$sQueryKeysValues = implode(", ", $sKeyValueList);
$query = "UPDATE {$this->table_name} SET {$sQueryKeysValues} WHERE `{$this->id_field}` = '{$this->sId}'";
}
pretty_dump($query);
if($result = mysql_query($query))
{
if($insert_mode == CPHP_INSERTMODE_INSERT)

Loading…
Cancel
Save