aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-26 14:21:26 -0800
committerfriendica <info@friendica.com>2015-02-26 14:21:26 -0800
commit4162dfe43fa5bee7c0847d4b3a0e4e0ddba12976 (patch)
tree1eaeb291fbe157e2389713408a82de9473fb155f /include
parent09f80270defdd2dfbf5cf4cc9da0cae686874aba (diff)
parent82bb21695259afd234031d7f3b41e2478cfc480c (diff)
downloadvolse-hubzilla-4162dfe43fa5bee7c0847d4b3a0e4e0ddba12976.tar.gz
volse-hubzilla-4162dfe43fa5bee7c0847d4b3a0e4e0ddba12976.tar.bz2
volse-hubzilla-4162dfe43fa5bee7c0847d4b3a0e4e0ddba12976.zip
Merge https://github.com/friendica/red into pending_merge
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 e290697b6..b09f65b7b 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -2896,6 +2896,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']));
}