diff options
Diffstat (limited to 'mod/profile/views')
-rw-r--r-- | mod/profile/views/default/profile/edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile/views/default/profile/edit.php b/mod/profile/views/default/profile/edit.php index 685793bff..5ccfd9ec4 100644 --- a/mod/profile/views/default/profile/edit.php +++ b/mod/profile/views/default/profile/edit.php @@ -20,8 +20,8 @@ <?php
//var_export($vars['profile']);
- 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) {
?>
|