forked from GNUsocial/gnu-social
[DATABASE] Only use single quotation marks for SQL strings
Double quotation marks are only used for identifiers in the SQL standard.
This commit is contained in:
@@ -167,7 +167,7 @@ class InternalSessionHandler implements SessionHandlerInterface
|
||||
$ids = [];
|
||||
|
||||
$session = new Session();
|
||||
$session->whereAdd('modified < "' . $epoch . '"');
|
||||
$session->whereAdd("modified < TIMESTAMP '" . $epoch . "'");
|
||||
$session->selectAdd();
|
||||
$session->selectAdd('id');
|
||||
|
||||
|
Reference in New Issue
Block a user