Vergleich ratethread.php - 1.8.0 - 1.8.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 84Zeile 84
{
error_no_permission();
}

{
error_no_permission();
}

$mybb->input['rating'] = $mybb->get_input('rating', 1);

$mybb->input['rating'] = $mybb->get_input('rating', MyBB::INPUT_INT);

if($mybb->input['rating'] < 1 || $mybb->input['rating'] > 5)
{
error($lang->error_invalidrating);

if($mybb->input['rating'] < 1 || $mybb->input['rating'] > 5)
{
error($lang->error_invalidrating);