mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge branch '3.2.x'
This commit is contained in:
@@ -34,7 +34,7 @@ class poll_title extends \phpbb\textreparser\row_based_plugin
|
||||
$sql = 'SELECT t.topic_id AS id, t.poll_title AS text, p.enable_bbcode, p.enable_smilies, p.enable_magic_url, p.bbcode_uid
|
||||
FROM ' . TOPICS_TABLE . ' t, ' . POSTS_TABLE . ' p
|
||||
WHERE t.topic_id BETWEEN ' . $min_id . ' AND ' . $max_id .'
|
||||
AND t.poll_max_options > 0
|
||||
AND t.poll_start > 0
|
||||
AND p.post_id = t.topic_first_post_id';
|
||||
|
||||
return $sql;
|
||||
|
Reference in New Issue
Block a user