diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-05-02 14:59:45 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-05-02 14:59:45 +0000 |
commit | 891cad97a3a7749ad8228b704fa04d68601d33a8 (patch) | |
tree | 25483336c97eecd98a184f05f281624206e32feb /modules/user.module | |
parent | c36dd7cfd591c92a350cba696b82e432f45efc8a (diff) | |
download | brdo-891cad97a3a7749ad8228b704fa04d68601d33a8.tar.gz brdo-891cad97a3a7749ad8228b704fa04d68601d33a8.tar.bz2 |
- clearing extra spaces from user.module.
- patching weblogs.module.
Diffstat (limited to 'modules/user.module')
-rw-r--r-- | modules/user.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user.module b/modules/user.module index d59abb00d..a8cc14144 100644 --- a/modules/user.module +++ b/modules/user.module @@ -217,7 +217,7 @@ function user_access($string) { ** To reduce the number of SQL queries, we cache the user's permissions ** in a static variable. */ - + if (!$perm) { if ($user->uid) { $perm = db_result(db_query("SELECT p.perm FROM role r, permission p WHERE r.rid = p.rid AND name = '$user->role'"), 0); |