diff options
Diffstat (limited to 'modules/user/user.module')
-rw-r--r-- | modules/user/user.module | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 96b6db3ce..c0b11d51d 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -756,6 +756,10 @@ function user_menu($may_cache) { 'weight' => 10); } else { + // Add the CSS for this module. We put this in !$may_cache so it is only + // added once per request. + drupal_add_css(drupal_get_path('module', 'user') .'/user.css', 'core'); + if (arg(0) == 'user' && is_numeric(arg(1)) && arg(1) > 0) { $account = user_load(array('uid' => arg(1))); |