mirror of
https://github.com/e107inc/e107.git
synced 2025-08-29 09:10:23 +02:00
Update function calls where moved from e107_class.php to iphandler_class.php
This commit is contained in:
@@ -186,7 +186,7 @@ class poll
|
||||
break;
|
||||
|
||||
case POLL_MODE_IP:
|
||||
$userid = $e107->getip();
|
||||
$userid = e107::getIPHandler()->getIP(FALSE);
|
||||
$voted_ids = explode('^', substr($pollArray['poll_ip'], 0, -1));
|
||||
if (in_array($userid, $voted_ids))
|
||||
{
|
||||
|
Reference in New Issue
Block a user