aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHabeas Codice <habeascodice@federated.social>2015-02-26 08:23:02 -0800
committerHabeas Codice <habeascodice@federated.social>2015-02-26 08:23:02 -0800
commit82bb21695259afd234031d7f3b41e2478cfc480c (patch)
tree181d881236f6bb71c0b97b0f068407861b7baf08 /include
parentf55e2101209c34faf1cc6d4d568c8b55af4a1ecb (diff)
downloadvolse-hubzilla-82bb21695259afd234031d7f3b41e2478cfc480c.tar.gz
volse-hubzilla-82bb21695259afd234031d7f3b41e2478cfc480c.tar.bz2
volse-hubzilla-82bb21695259afd234031d7f3b41e2478cfc480c.zip
more fake null shenanigans
Diffstat (limited to 'include')
-rw-r--r--include/zot.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php
index 455702b06..2a0fcd118 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -2880,6 +2880,9 @@ function process_channel_sync_delivery($sender,$arr,$deliveries) {
if(count($clean)) {
foreach($clean as $k => $v) {
+ if($k == 'abook_dob')
+ $v = dbescdate($v);
+
$r = dbq("UPDATE abook set " . dbesc($k) . " = '" . dbesc($v)
. "' where abook_xchan = '" . dbesc($clean['abook_xchan']) . "' and abook_channel = " . intval($channel['channel_id']));
}