Vergleich printthread.php - 1.6.10 - 1.6.18

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

// Make sure we are looking at a real thread here.

}

// Make sure we are looking at a real thread here.

if(!$tid || ($thread['visible'] == 0 && $ismod == false) || ($thread['visible'] > 1 && $ismod == true))

if(!$tid || ($thread['visible'] != 1 && $ismod == false) || ($thread['visible'] > 1 && $ismod == true))

{
error($lang->error_invalidthread);
}

{
error($lang->error_invalidthread);
}

Zeile 84Zeile 84
check_forum_password($forum['fid']);

$page = intval($mybb->input['page']);

check_forum_password($forum['fid']);

$page = intval($mybb->input['page']);

 

if(!$mybb->settings['postsperpage'] || (int)$mybb->settings['postsperpage'] < 1)
{
$mybb->settings['postsperpage'] = 20;
}


// Paginate this thread
$perpage = $mybb->settings['postsperpage'];


// Paginate this thread
$perpage = $mybb->settings['postsperpage'];