aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-31 16:00:33 -0700
committerzotlabs <mike@macgirvin.com>2017-05-31 16:00:33 -0700
commit98c18f416a4c809059f4cdf27a833bb9b1134280 (patch)
tree100b27f5943d8a0b843ac34f104cd8995ac8b496 /include
parent5376b478b85bfa453dbb7ef5014be310297d07a8 (diff)
downloadvolse-hubzilla-98c18f416a4c809059f4cdf27a833bb9b1134280.tar.gz
volse-hubzilla-98c18f416a4c809059f4cdf27a833bb9b1134280.tar.bz2
volse-hubzilla-98c18f416a4c809059f4cdf27a833bb9b1134280.zip
remove default for text/mediumtext sql fields
Diffstat (limited to 'include')
-rw-r--r--include/connections.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/connections.php b/include/connections.php
index 0e9f25c8f..a2bc11773 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($last_entry && $adrs[$last_entry]['address'])
+ if($last_entry && is_array($adrs[$last_entry]['address']))
array_walk($adrs[$last_entry]['address'],'array_escape_tags');
}
}