aboutsummaryrefslogtreecommitdiffstats
path: root/include/connections.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-10 22:15:01 -0700
committerzotlabs <mike@macgirvin.com>2017-05-10 22:15:01 -0700
commit84064b90a6ea1d968da76749a9816363462f3831 (patch)
tree8fe3af67dea5b11460497bc8c84c00a75b659776 /include/connections.php
parent08e21fd0b85ccab350c79b7d329737100e9db5cb (diff)
downloadvolse-hubzilla-84064b90a6ea1d968da76749a9816363462f3831.tar.gz
volse-hubzilla-84064b90a6ea1d968da76749a9816363462f3831.tar.bz2
volse-hubzilla-84064b90a6ea1d968da76749a9816363462f3831.zip
disable oauth2 until I can get back to it - it's throwing typos
Diffstat (limited to 'include/connections.php')
-rw-r--r--include/connections.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/connections.php b/include/connections.php
index 8f4f84e1a..0e9f25c8f 100644
--- a/include/connections.php
+++ b/include/connections.php
@@ -629,7 +629,7 @@ function get_vcard_array($vc,$id) {
'address' => $adr->getParts()
];
$last_entry = end($adrs);
- if($adrs[$last_entry]['address'])
+ if($last_entry && $adrs[$last_entry]['address'])
array_walk($adrs[$last_entry]['address'],'array_escape_tags');
}
}