From: Thomas Tanghus Date: Tue, 21 Feb 2012 09:11:26 +0000 (+0100) Subject: Remove my FIXME comments when I've fixed it :-P X-Git-Tag: v4.0.0beta~32^2~34^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a79f5d40de9b6cdcd8e0111505852ec10ddb91e8;p=nextcloud-server.git Remove my FIXME comments when I've fixed it :-P --- diff --git a/apps/contacts/ajax/saveproperty.php b/apps/contacts/ajax/saveproperty.php index 0c9e0cc7836..6f8366243fe 100644 --- a/apps/contacts/ajax/saveproperty.php +++ b/apps/contacts/ajax/saveproperty.php @@ -51,7 +51,7 @@ $checksum = isset($_POST['checksum'])?$_POST['checksum']:null; // } // } -if(is_array($value)){ // FIXME: How to strip_tags for compound values? +if(is_array($value)){ $value = array_map('strip_tags', $value); ksort($value); // NOTE: Important, otherwise the compound value will be set in the order the fields appear in the form! $value = OC_VObject::escapeSemicolons($value);