aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-06-14 22:53:09 +0200
committerMario Vavti <mario@mariovavti.com>2017-06-14 22:53:09 +0200
commit3f488e98421597749a7fc8af35e48d0b11f980ae (patch)
tree39640425caed9e134bc168ec04bd89b2d7988208
parent54e07389fa1ebe7a2d2815258b021c07d2fc4dd0 (diff)
downloadvolse-hubzilla-3f488e98421597749a7fc8af35e48d0b11f980ae.tar.gz
volse-hubzilla-3f488e98421597749a7fc8af35e48d0b11f980ae.tar.bz2
volse-hubzilla-3f488e98421597749a7fc8af35e48d0b11f980ae.zip
fix illegal offset type warning
-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');
}
}