From: Brenda Wallace Date: Fri, 26 Jun 2009 22:29:02 +0000 (+1200) Subject: used single quotes in SQL X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=403bb38bcd191d7b4e9c62e7f5f4bbb3968729df;p=quix0rs-gnu-social.git used single quotes in SQL --- diff --git a/classes/Notice.php b/classes/Notice.php index 08125cf7b0..4e244c6661 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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();