used single quotes in SQL

This commit is contained in:
Brenda Wallace 2009-06-27 10:29:02 +12:00
parent 15042ed50b
commit 403bb38bcd

View File

@ -873,7 +873,7 @@ class Notice extends Memcached_DataObject
if ($cnt > 0) {
$qry .= ', ';
}
$qry .= '('.$id.', '.$this->id.', '.$source.', "'.$this->created.'") ';
$qry .= '('.$id.', '.$this->id.', '.$source.", '".$this->created. "') ";
$cnt++;
if ($cnt >= MAX_BOXCARS) {
$inbox = new Notice_inbox();