Vergleich polls.php - 1.4.1 - 1.4.7

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: polls.php 4081 2008-08-08 01:47:02Z Tikitiki $

 * $Id: polls.php 4304 2009-01-02 01:11:56Z chris $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 162Zeile 162
	}

$postoptions = $mybb->input['postoptions'];

	}

$postoptions = $mybb->input['postoptions'];

	if($postoptions['multiple'] != 1)

	if($postoptions['multiple'] != '1')

	{
$postoptions['multiple'] = 0;
}


	{
$postoptions['multiple'] = 0;
}


	if($postoptions['public'] != 1)

	if($postoptions['public'] != '1')

	{
$postoptions['public'] = 0;
}

	{
$postoptions['public'] = 0;
}

Zeile 461Zeile 461
	}

$postoptions = $mybb->input['postoptions'];

	}

$postoptions = $mybb->input['postoptions'];

	if($postoptions['multiple'] != 1)

	if($postoptions['multiple'] != '1')

	{
$postoptions['multiple'] = 0;
}


	{
$postoptions['multiple'] = 0;
}


	if($postoptions['public'] != 1)

	if($postoptions['public'] != '1')

	{
$postoptions['public'] = 0;
}


	{
$postoptions['public'] = 0;
}


	if($postoptions['closed'] != 1)

	if($postoptions['closed'] != '1')

	{
$postoptions['closed'] = 0;
}

	{
$postoptions['closed'] = 0;
}

Zeile 790Zeile 790
				{
$votesql .= ",";
}

				{
$votesql .= ",";
}

				$votesql .= "('".$poll['pid']."','".$mybb->user['uid']."','$voteoption','$now')";

				$votesql .= "('".$poll['pid']."','".$mybb->user['uid']."','".$db->escape_string($voteoption)."','$now')";

				$votesarray[$voteoption-1]++;
$numvotes = $numvotes+1;
}

				$votesarray[$voteoption-1]++;
$numvotes = $numvotes+1;
}