aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-21 16:01:17 -0700
committerredmatrix <mike@macgirvin.com>2016-09-21 16:01:17 -0700
commitd1c9701ccfefee7dbe79e9e0a54ce04a387b3233 (patch)
tree2f3aed1f0c7fa95d0ee083dffeac66d6aac65a41 /Zotlabs/Daemon
parentec5cc08fabbdcd17e5e73821c083e4583cdf3214 (diff)
downloadvolse-hubzilla-d1c9701ccfefee7dbe79e9e0a54ce04a387b3233.tar.gz
volse-hubzilla-d1c9701ccfefee7dbe79e9e0a54ce04a387b3233.tar.bz2
volse-hubzilla-d1c9701ccfefee7dbe79e9e0a54ce04a387b3233.zip
issue #522 - replace && with AND in sql query.
Diffstat (limited to 'Zotlabs/Daemon')
-rw-r--r--Zotlabs/Daemon/Cron.php2
1 files changed, 1 insertions, 1 deletions
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()
);