Zeile 6 | Zeile 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 4165 2008-08-31 23:55:34Z Tikitiki $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 162 | Zeile 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 461 | Zeile 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 790 | Zeile 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; }
|