diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-06-14 22:53:09 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-06-14 22:53:09 +0200 |
commit | 3f488e98421597749a7fc8af35e48d0b11f980ae (patch) | |
tree | 39640425caed9e134bc168ec04bd89b2d7988208 /include/connections.php | |
parent | 54e07389fa1ebe7a2d2815258b021c07d2fc4dd0 (diff) | |
download | volse-hubzilla-3f488e98421597749a7fc8af35e48d0b11f980ae.tar.gz volse-hubzilla-3f488e98421597749a7fc8af35e48d0b11f980ae.tar.bz2 volse-hubzilla-3f488e98421597749a7fc8af35e48d0b11f980ae.zip |
fix illegal offset type warning
Diffstat (limited to 'include/connections.php')
-rw-r--r-- | include/connections.php | 4 |
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'); } } |