From d1c9701ccfefee7dbe79e9e0a54ce04a387b3233 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 21 Sep 2016 16:01:17 -0700 Subject: issue #522 - replace && with AND in sql query. --- Zotlabs/Daemon/Cron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Daemon') diff --git a/Zotlabs/Daemon/Cron.php b/Zotlabs/Daemon/Cron.php index c66b62f55..613c2e705 100644 --- a/Zotlabs/Daemon/Cron.php +++ b/Zotlabs/Daemon/Cron.php @@ -64,7 +64,7 @@ class Cron { // 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), db_utcnow() ); -- cgit v1.2.3