diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-11-23 21:52:13 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-11-23 21:52:13 +0000 |
commit | e19a3cf42d73942e37ca644f8ba5fa271b983e3d (patch) | |
tree | 43b605dc963c69671314bdf5cfd054447b1c89f8 /modules/user.module | |
parent | 256a0466cbbbfa95d3321920e7d50fb130da9f3e (diff) | |
download | brdo-e19a3cf42d73942e37ca644f8ba5fa271b983e3d.tar.gz brdo-e19a3cf42d73942e37ca644f8ba5fa271b983e3d.tar.bz2 |
- Patch #12363: fixed glitch in user_access() as pointed out by TDobes.
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 f9337d1d3..2a1e2e09c 100644 --- a/modules/user.module +++ b/modules/user.module @@ -312,7 +312,7 @@ function user_access($string, $account = NULL) { } // User #1 has all privileges: - if ($user->uid == 1) { + if ($account->uid == 1) { return 1; } |