From 39fc2495967209c01d716499f6dfe46ae6665675 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Sat, 14 Mar 2020 07:03:04 +0100 Subject: [PATCH] code cleanup Signed-off-by: Janos SUTO --- webui/model/audit/removal.php | 2 +- webui/view/theme/default/templates/common/menu.tpl | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/webui/model/audit/removal.php b/webui/model/audit/removal.php index 2daecc5a..975803d3 100644 --- a/webui/model/audit/removal.php +++ b/webui/model/audit/removal.php @@ -2,7 +2,7 @@ class ModelAuditRemoval extends Model { - public function get_pending_removals($page_len = 0) { + public function get_pending_removals($page = 0, $page_len = 0) { $limit = ''; $from = (int)$page * (int)$page_len; diff --git a/webui/view/theme/default/templates/common/menu.tpl b/webui/view/theme/default/templates/common/menu.tpl index 7930cd93..4a57d6ce 100644 --- a/webui/view/theme/default/templates/common/menu.tpl +++ b/webui/view/theme/default/templates/common/menu.tpl @@ -3,15 +3,15 @@