Vergleich ratethread.php - 1.8.1 - 1.8.9

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 27Zeile 27
}

// Is the currently logged in user a moderator of this forum?

}

// Is the currently logged in user a moderator of this forum?

if(is_moderator($thread['fid']))
{
$ismod = true;
}
else
{
$ismod = false;
}

$ismod = is_moderator($thread['fid']);









// Make sure we are looking at a real thread here.
if(($thread['visible'] != 1 && $ismod == false) || ($thread['visible'] > 1 && $ismod == true))


// Make sure we are looking at a real thread here.
if(($thread['visible'] != 1 && $ismod == false) || ($thread['visible'] > 1 && $ismod == true))

Zeile 84Zeile 77
{
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);