1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 07:35:29 +02:00

[feature/attach-dl] Removed limit

PHPBB3-11042
This commit is contained in:
Fyorl 2012-08-14 12:03:59 +01:00
parent d08c1c23dc
commit b05f36b197

View File

@ -629,7 +629,7 @@ function phpbb_download_check_forum_auth($db, $auth, $topic_id)
FROM ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE . " f
WHERE t.topic_id = " . (int) $topic_id . "
AND t.forum_id = f.forum_id";
$result = $db->sql_query_limit($sql, 1);
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);