1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +02:00

Plugin script tests and PHP8 fixes.

This commit is contained in:
Cameron
2021-01-22 13:44:10 -08:00
parent 4b0edad459
commit acc1a9af0d
62 changed files with 799 additions and 1849 deletions

View File

@@ -95,11 +95,8 @@
$pm_prefs = e107::getPlugPref('pm');
$pm_prefs['perpage'] = intval($pm_prefs['perpage']);
if($pm_prefs['perpage'] == 0)
{
$pm_prefs['perpage'] = 10;
}
$pm_prefs['perpage'] = (int) varset($pm_prefs['perpage'], 10);
if(!isset($pm_prefs['pm_class']) || !check_class($pm_prefs['pm_class']))
{
@@ -952,5 +949,5 @@
require_once(FOOTERF);
exit;