From 380db9cd9ae8ae78fca8df4ec33fb2b97532a304 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 5 Nov 2024 15:22:34 +0100 Subject: [minilinux] Handle invalid parameter --- modules-available/minilinux/page.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules-available/minilinux/page.inc.php b/modules-available/minilinux/page.inc.php index 161374a4..4dd49c3d 100644 --- a/modules-available/minilinux/page.inc.php +++ b/modules-available/minilinux/page.inc.php @@ -77,6 +77,8 @@ class Page_MiniLinux extends Page } $sourceViewData['list'][] = $row; } + } else { + ErrorHandler::traceError('Invalid option: ' . $show); } // Output Render::addTemplate('page-minilinux', [ -- cgit v1.2.3-55-g7522