aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-28 13:14:48 -0700
committerredmatrix <git@macgirvin.com>2016-07-28 13:14:48 -0700
commit58cf5f310d89026fb526e201c301075725044e48 (patch)
treea72a058190905f6f87488d51a97ce02df00f7422 /Zotlabs/Module
parent2d916b531b0078002232209907b414b6e2a07722 (diff)
downloadvolse-hubzilla-58cf5f310d89026fb526e201c301075725044e48.tar.gz
volse-hubzilla-58cf5f310d89026fb526e201c301075725044e48.tar.bz2
volse-hubzilla-58cf5f310d89026fb526e201c301075725044e48.zip
sql typo
Diffstat (limited to 'Zotlabs/Module')
-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'))