Use db_addslashes to insert log message

This commit is contained in:
Miles Lott 2001-12-06 16:10:55 +00:00
parent d471ba248e
commit 082f05caea

View File

@ -132,8 +132,8 @@
.", '" . $GLOBALS['phpgw']->db->to_timestamp($err->timestamp)
."', '". $err->severity . "'"
.", '". $err->code . "'"
.", '". $err->msg . "'"
.", '". addslashes(implode('|',$err->parms)). "'"
.", '". $db->db_addslashes($err->msg) . "'"
.", '". $db->db_addslashes(implode('|',$err->parms)). "'"
.", '". $err->fname . "'"
.", " . intval($err->line)
.")"