Vergleich forumdisplay.php - 1.6.14 - 1.6.15

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

// How many pages are there?

}

// How many pages are there?

if(!$mybb->settings['threadsperpage'])

if(!$mybb->settings['threadsperpage'] || (int)$mybb->settings['threadsperpage'] < 1)

{
$mybb->settings['threadsperpage'] = 20;
}

{
$mybb->settings['threadsperpage'] = 20;
}

Zeile 928Zeile 928
		$mybb->settings['maxmultipagelinks'] = 5;
}


		$mybb->settings['maxmultipagelinks'] = 5;
}


	if(!$mybb->settings['postsperpage'])

	if(!$mybb->settings['postsperpage'] || (int)$mybb->settings['postsperpage'] < 1)

	{

	{

		$mybb->settings['postperpage'] = 20;

		$mybb->settings['postsperpage'] = 20;

	}

foreach($threadcache as $thread)

	}

foreach($threadcache as $thread)