aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-28 13:10:19 -0700
committerredmatrix <git@macgirvin.com>2016-07-28 13:10:19 -0700
commit4ce8f965aab8cfb09fc9f102f771cf67a7ee84fa (patch)
tree12b7ebf40d82b388f6fae68180ae464e07854cd2 /Zotlabs
parent02fc082e45cfaf6b313f40f1107122837019dd32 (diff)
downloadvolse-hubzilla-4ce8f965aab8cfb09fc9f102f771cf67a7ee84fa.tar.gz
volse-hubzilla-4ce8f965aab8cfb09fc9f102f771cf67a7ee84fa.tar.bz2
volse-hubzilla-4ce8f965aab8cfb09fc9f102f771cf67a7ee84fa.zip
issue #466, sql typo
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Ping.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Ping.php b/Zotlabs/Module/Ping.php
index 5cbf45daa..e01c3b49a 100644
--- a/Zotlabs/Module/Ping.php
+++ b/Zotlabs/Module/Ping.php
@@ -173,7 +173,7 @@ class Ping extends \Zotlabs\Web\Controller {
);
break;
case 'all_events':
- $r = q("update event set `dimissed` = 1 where `dismissed` = 0 and uid = %d AND dtstart < '%s' AND dtstart > '%s' ",
+ $r = q("update event set `dismissed` = 1 where `dismissed` = 0 and uid = %d AND dtstart < '%s' AND dtstart > '%s' ",
intval(local_channel()),
dbesc(datetime_convert('UTC', date_default_timezone_get(), 'now + ' . intval($evdays) . ' days')),
dbesc(datetime_convert('UTC', date_default_timezone_get(), 'now - 1 days'))