mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 02:06:32 +02:00
[ticket/11144] Add missing {FORUM_NAME} variable
The template variable {FORUM_NAME} was missing from the login page of a password protected forum PHPBB3-11144
This commit is contained in:
@@ -170,7 +170,7 @@ else
|
||||
if (!$attachment['in_message'])
|
||||
{
|
||||
//
|
||||
$sql = 'SELECT p.forum_id, f.forum_password, f.parent_id
|
||||
$sql = 'SELECT p.forum_id, f.forum_name, f.forum_password, f.parent_id
|
||||
FROM ' . POSTS_TABLE . ' p, ' . FORUMS_TABLE . ' f
|
||||
WHERE p.post_id = ' . $attachment['post_msg_id'] . '
|
||||
AND p.forum_id = f.forum_id';
|
||||
|
Reference in New Issue
Block a user