aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHabeas Codice <habeascodice@federated.social>2015-02-05 09:15:26 -0800
committerHabeas Codice <habeascodice@federated.social>2015-02-05 09:15:26 -0800
commit88488fdfbb58aa04b450af1691aba7cea1bce8ab (patch)
tree95424164f096970c624530164ed548b85f21b10a
parent84843984b8c80a2d60394d466a17b821bfb867d7 (diff)
downloadvolse-hubzilla-88488fdfbb58aa04b450af1691aba7cea1bce8ab.tar.gz
volse-hubzilla-88488fdfbb58aa04b450af1691aba7cea1bce8ab.tar.bz2
volse-hubzilla-88488fdfbb58aa04b450af1691aba7cea1bce8ab.zip
escape dates
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 04b6806c2..5faabd5ec 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -420,7 +420,7 @@ function zot_refresh($them,$channel = null, $force = false) {
where abook_xchan = '%s' and abook_channel = %d
and not (abook_flags & %d) > 0 ",
intval($their_perms),
- dbesc($next_birthday),
+ dbescdate($next_birthday),
dbesc($x['hash']),
intval($channel['channel_id']),
intval(ABOOK_FLAG_SELF)