diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2006-11-20 16:40:44 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-11-20 16:40:44 +0000 |
| commit | 2774981b2ddcf0e6c7076a0371a4b8941199dec8 (patch) | |
| tree | fee58e1507d218946b9b075f9cb7feb1fb265928 /phpBB/posting.php | |
| parent | e03fb0aafd34612cd81c16bc5e0fb1c4b7eda2a8 (diff) | |
| download | forums-2774981b2ddcf0e6c7076a0371a4b8941199dec8.tar forums-2774981b2ddcf0e6c7076a0371a4b8941199dec8.tar.gz forums-2774981b2ddcf0e6c7076a0371a4b8941199dec8.tar.bz2 forums-2774981b2ddcf0e6c7076a0371a4b8941199dec8.tar.xz forums-2774981b2ddcf0e6c7076a0371a4b8941199dec8.zip | |
fix for bug #5490
- make sure bots are catched by the posting auth too.
git-svn-id: file:///svn/phpbb/trunk@6619 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 72151470d4..7b2695cefa 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -163,7 +163,7 @@ if ($post_data['forum_password']) // Is the user able to read within this forum? if (!$auth->acl_get('f_read', $forum_id)) { - if ($user->data['is_registered']) + if ($user->data['user_id'] != ANONYMOUS) { trigger_error('USER_CANNOT_READ'); } |
