summaryrefslogtreecommitdiff
path: root/modules/profile/profile.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profile/profile.module')
-rw-r--r--modules/profile/profile.module5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index a10f2cf69..0f3044072 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -85,6 +85,11 @@ function profile_menu($may_cache) {
'access' => 1,
'type' => MENU_CALLBACK);
}
+ else {
+ // Add the CSS for this module
+ // We put this in !$may_cache so it's only added once per request
+ drupal_add_css(drupal_get_path('module', 'profile') .'/profile.css');
+ }
return $items;
}