aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-23 16:45:53 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-23 16:45:53 +0000
commit7a0e5b0db2a2b69ee227a3436f83251764e3233b (patch)
tree18128374468d17cca23ac17b4a9d6ae29ed4a02f
parentd98c0d4c6c56d015958bdc88baa00d6ca6bcb70d (diff)
downloadelgg-7a0e5b0db2a2b69ee227a3436f83251764e3233b.tar.gz
elgg-7a0e5b0db2a2b69ee227a3436f83251764e3233b.tar.bz2
Similar profile fix to previous
git-svn-id: https://code.elgg.org/elgg/trunk@704 36083f99-b078-4883-b0ff-0f9b5a30f544
-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)) {