aboutsummaryrefslogtreecommitdiffstats
path: root/include/connections.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-14 16:07:21 -0700
committerzotlabs <mike@macgirvin.com>2017-06-14 16:07:21 -0700
commit234c64574b4ee5ca22b85ae2fecc301286423068 (patch)
tree7786bed424457e327f30b067bf0ef39c7446ac99 /include/connections.php
parentf28fa0ab5a46a231695a851f2345a3669419c842 (diff)
parent1f075d92bc4e47ae282f811d10c31cd6f09191a6 (diff)
downloadvolse-hubzilla-234c64574b4ee5ca22b85ae2fecc301286423068.tar.gz
volse-hubzilla-234c64574b4ee5ca22b85ae2fecc301286423068.tar.bz2
volse-hubzilla-234c64574b4ee5ca22b85ae2fecc301286423068.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'include/connections.php')
-rw-r--r--include/connections.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/connections.php b/include/connections.php
index 85b961b65..56457ea10 100644
--- a/include/connections.php
+++ b/include/connections.php
@@ -634,8 +634,8 @@ function get_vcard_array($vc,$id) {
'address' => $adr->getParts()
];
$last_entry = end($adrs);
- if($adrs[$last_entry]['address'])
- array_walk($adrs[$last_entry]['address'],'array_escape_tags');
+ if($last_entry['address'])
+ array_walk($last_entry['address'],'array_escape_tags');
}
}