Vergleich polls.php - 1.6.0 - 1.6.3

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: polls.php 5125 2010-07-27 07:28:03Z RyanGordon $

 * $Id: polls.php 5380 2011-02-21 12:04:43Z Tomm $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 773Zeile 773
	elseif(!$mybb->user['uid'])
{
// Give a cookie to guests to inhibit revotes

	elseif(!$mybb->user['uid'])
{
// Give a cookie to guests to inhibit revotes

		$votes_cookie = implode(',', array_keys($mybb->input['option']));










		if(is_array($mybb->input['option']))
{
// We have multiple options here...
$votes_cookie = implode(',', array_keys($mybb->input['option']));
}
else
{
$votes_cookie = $mybb->input['option'];
}


		my_setcookie("pollvotes[{$poll['pid']}]", $votes_cookie);
}


		my_setcookie("pollvotes[{$poll['pid']}]", $votes_cookie);
}