mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Fixes #1449 - Polls failing in PHP7 and Multiple options voting not functioning.
This commit is contained in:
@@ -179,7 +179,7 @@ if($thread->message)
|
||||
//{
|
||||
if(e107::isInstalled('poll'))
|
||||
{
|
||||
$_qry = 'SELECT * FROM `#polls` WHERE `poll_datestamp` = ' . $thread->threadId;
|
||||
$_qry = 'SELECT p.*, u.user_id, u.user_name FROM `#polls` AS p LEFT JOIN `#user` AS u ON p.poll_admin_id = u.user_id WHERE p.poll_datestamp = ' . $thread->threadId;
|
||||
if($sql->gen($_qry))
|
||||
{
|
||||
if (!defined('POLLCLASS'))
|
||||
|
Reference in New Issue
Block a user