aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorJeroen Dalsem <jdalsem@coldtrick.com>2012-09-13 11:16:23 +0200
committerJeroen Dalsem <jdalsem@coldtrick.com>2012-09-13 11:16:23 +0200
commit2a01ffb27c6509f4b9e32675cf4386d3aae1c713 (patch)
tree4a694629351d76bf172103a4a2e957d97d855472 /actions
parente1eedeae6a43a5f040402a4ba2c09146877a2672 (diff)
downloadelgg-2a01ffb27c6509f4b9e32675cf4386d3aae1c713.tar.gz
elgg-2a01ffb27c6509f4b9e32675cf4386d3aae1c713.tar.bz2
fixes not showing and deleting all metadata values for array type
metadata fields #4858
Diffstat (limited to 'actions')
-rw-r--r--actions/profile/edit.php3
1 files changed, 2 insertions, 1 deletions
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);