aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/profile/start.php4
-rw-r--r--mod/profile/views/default/profile/userdetails.php4
2 files changed, 5 insertions, 3 deletions
diff --git a/mod/profile/start.php b/mod/profile/start.php
index 89e70b5ce..375cc5446 100644
--- a/mod/profile/start.php
+++ b/mod/profile/start.php
@@ -118,8 +118,10 @@
$n++;
}
- if (count($loaded_defaults))
+ if (count($loaded_defaults)) {
+ $CONFIG->profile_using_custom = true;
$profile_defaults = $loaded_defaults;
+ }
$CONFIG->profile = trigger_plugin_hook('profile:fields', 'profile', NULL, $profile_defaults);
}
diff --git a/mod/profile/views/default/profile/userdetails.php b/mod/profile/views/default/profile/userdetails.php
index 50f7f33ac..522152853 100644
--- a/mod/profile/views/default/profile/userdetails.php
+++ b/mod/profile/views/default/profile/userdetails.php
@@ -127,7 +127,7 @@
</td>
</tr>
-
+<?php if (!isset($CONFIG->profile_using_custom)) {?>
<tr>
<td colspan="2">
<div id="profile_info_column_right">
@@ -137,7 +137,7 @@
</td>
</tr>
-
+<?php } ?>
</table>