aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/start.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-29 10:57:32 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-29 10:57:32 +0000
commitaca3fd30ca1d44f4af6add46d5c5ac3c051f3b27 (patch)
tree080258f2ef715c1855e535c87be53823fbee2ad9 /mod/profile/start.php
parent473682966b5848a5c8c915dfac20722d4a51f73d (diff)
downloadelgg-aca3fd30ca1d44f4af6add46d5c5ac3c051f3b27.tar.gz
elgg-aca3fd30ca1d44f4af6add46d5c5ac3c051f3b27.tar.bz2
Hide 'about me' on custom profiles
git-svn-id: https://code.elgg.org/elgg/trunk@2341 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/start.php')
-rw-r--r--mod/profile/start.php4
1 files changed, 3 insertions, 1 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);
}