diff options
author | Jeroen Dalsem <jdalsem@coldtrick.com> | 2012-09-13 11:16:23 +0200 |
---|---|---|
committer | Jeroen Dalsem <jdalsem@coldtrick.com> | 2012-09-13 11:16:23 +0200 |
commit | 2a01ffb27c6509f4b9e32675cf4386d3aae1c713 (patch) | |
tree | 4a694629351d76bf172103a4a2e957d97d855472 /views | |
parent | e1eedeae6a43a5f040402a4ba2c09146877a2672 (diff) | |
download | elgg-2a01ffb27c6509f4b9e32675cf4386d3aae1c713.tar.gz elgg-2a01ffb27c6509f4b9e32675cf4386d3aae1c713.tar.bz2 |
fixes not showing and deleting all metadata values for array type
metadata fields #4858
Diffstat (limited to 'views')
-rw-r--r-- | views/default/forms/profile/edit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/forms/profile/edit.php b/views/default/forms/profile/edit.php index 222935344..9538b779e 100644 --- a/views/default/forms/profile/edit.php +++ b/views/default/forms/profile/edit.php @@ -18,7 +18,8 @@ if (is_array($profile_fields) && count($profile_fields) > 0) { foreach ($profile_fields as $shortname => $valtype) { $metadata = elgg_get_metadata(array( 'guid' => $vars['entity']->guid, - 'metadata_name' => $shortname + 'metadata_name' => $shortname, + 'limit' => false )); if ($metadata) { if (is_array($metadata)) { |