issue #522 - replace && with AND in sql query.
This commit is contained in:
parent
ec5cc08fab
commit
d1c9701ccf
@ -64,7 +64,7 @@ class Cron {
|
|||||||
|
|
||||||
// delete expired access tokens
|
// delete expired access tokens
|
||||||
|
|
||||||
$r = q("select atoken_id from atoken where atoken_expires != '%s' && atoken_expires < %s",
|
$r = q("select atoken_id from atoken where atoken_expires != '%s' and atoken_expires < %s",
|
||||||
dbesc(NULL_DATE),
|
dbesc(NULL_DATE),
|
||||||
db_utcnow()
|
db_utcnow()
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user