aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/profile/views/default/user/user.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile/views/default/user/user.php b/mod/profile/views/default/user/user.php
index e11c463ca..efa19f0d4 100644
--- a/mod/profile/views/default/user/user.php
+++ b/mod/profile/views/default/user/user.php
@@ -32,8 +32,8 @@
<?php
}
- if (is_array($vars['profile']) && sizeof($vars['profile']) > 0)
- foreach($vars['profile'] as $shortname => $valtype) {
+ if (is_array($vars['config']->profile) && sizeof($vars['config']->profile) > 0)
+ foreach($vars['config']->profile as $shortname => $valtype) {
if ($shortname != "description") {
$value = $vars['entity']->$shortname;
if (!empty($value)) {