summaryrefslogtreecommitdiff
path: root/modules/user.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-02 14:59:45 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-02 14:59:45 +0000
commit891cad97a3a7749ad8228b704fa04d68601d33a8 (patch)
tree25483336c97eecd98a184f05f281624206e32feb /modules/user.module
parentc36dd7cfd591c92a350cba696b82e432f45efc8a (diff)
downloadbrdo-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.module2
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);