forked from GNUsocial/gnu-social
used single quotes in SQL
This commit is contained in:
parent
15042ed50b
commit
403bb38bcd
@ -873,7 +873,7 @@ class Notice extends Memcached_DataObject
|
|||||||
if ($cnt > 0) {
|
if ($cnt > 0) {
|
||||||
$qry .= ', ';
|
$qry .= ', ';
|
||||||
}
|
}
|
||||||
$qry .= '('.$id.', '.$this->id.', '.$source.', "'.$this->created.'") ';
|
$qry .= '('.$id.', '.$this->id.', '.$source.", '".$this->created. "') ";
|
||||||
$cnt++;
|
$cnt++;
|
||||||
if ($cnt >= MAX_BOXCARS) {
|
if ($cnt >= MAX_BOXCARS) {
|
||||||
$inbox = new Notice_inbox();
|
$inbox = new Notice_inbox();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user