diff options
author | Fyorl <gaelreth@gmail.com> | 2012-08-14 12:03:59 +0100 |
---|---|---|
committer | Fyorl <gaelreth@gmail.com> | 2012-08-14 12:03:59 +0100 |
commit | b05f36b19759eae3d6e60558355698d457df5b31 (patch) | |
tree | 7eb4b2b9e6b536f8f4bc20c0411752a46095620f /phpBB/includes/functions_download.php | |
parent | d08c1c23dc0a2e9acebf309b3b2ff4dd88fbc901 (diff) | |
download | forums-b05f36b19759eae3d6e60558355698d457df5b31.tar forums-b05f36b19759eae3d6e60558355698d457df5b31.tar.gz forums-b05f36b19759eae3d6e60558355698d457df5b31.tar.bz2 forums-b05f36b19759eae3d6e60558355698d457df5b31.tar.xz forums-b05f36b19759eae3d6e60558355698d457df5b31.zip |
[feature/attach-dl] Removed limit
PHPBB3-11042
Diffstat (limited to 'phpBB/includes/functions_download.php')
-rw-r--r-- | phpBB/includes/functions_download.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_download.php b/phpBB/includes/functions_download.php index f866c6bbfb..14d39806b9 100644 --- a/phpBB/includes/functions_download.php +++ b/phpBB/includes/functions_download.php @@ -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); |