From 2a01ffb27c6509f4b9e32675cf4386d3aae1c713 Mon Sep 17 00:00:00 2001 From: Jeroen Dalsem Date: Thu, 13 Sep 2012 11:16:23 +0200 Subject: fixes not showing and deleting all metadata values for array type metadata fields #4858 --- actions/profile/edit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actions/profile/edit.php') diff --git a/actions/profile/edit.php b/actions/profile/edit.php index 0456c60bc..b6d73ff2d 100644 --- a/actions/profile/edit.php +++ b/actions/profile/edit.php @@ -71,7 +71,8 @@ if (sizeof($input) > 0) { foreach ($input as $shortname => $value) { $options = array( 'guid' => $owner->guid, - 'metadata_name' => $shortname + 'metadata_name' => $shortname, + 'limit' => false ); elgg_delete_metadata($options); -- cgit v1.2.3