aboutsummaryrefslogtreecommitdiff
path: root/views/default
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 /views/default
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 'views/default')
-rw-r--r--views/default/forms/profile/edit.php3
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)) {