mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 22:38:52 +00:00
[feature/attach-dl] Removed limit
PHPBB3-11042
This commit is contained in:
parent
d08c1c23dc
commit
b05f36b197
1 changed files with 1 additions and 1 deletions
|
@ -629,7 +629,7 @@ function phpbb_download_check_forum_auth($db, $auth, $topic_id)
|
||||||
FROM ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE . " f
|
FROM ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE . " f
|
||||||
WHERE t.topic_id = " . (int) $topic_id . "
|
WHERE t.topic_id = " . (int) $topic_id . "
|
||||||
AND t.forum_id = f.forum_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);
|
$row = $db->sql_fetchrow($result);
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue