From 92949ba2c9a46d5373a5148eb3469c3ffc103938 Mon Sep 17 00:00:00 2001 From: MrPMan Date: Thu, 24 Dec 2015 09:40:06 -0800 Subject: [PATCH] Fix functionality-affecting typo in recommend_alter.php Line 9 was $GroupIDi instead of $GroupID. The next few lines run an is_number check on $GroupID, which doesn't exist if the variable is called $GroupID. This makes me wonder how nobody noticed it until now, as the page shouldn't even work. --- sections/tools/managers/recommend_alter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sections/tools/managers/recommend_alter.php b/sections/tools/managers/recommend_alter.php index 50a2665c..cf67f4f9 100644 --- a/sections/tools/managers/recommend_alter.php +++ b/sections/tools/managers/recommend_alter.php @@ -6,7 +6,7 @@ error(403); } -$GroupIDi = $_GET['groupid']; +$GroupID = $_GET['groupid']; if (!$GroupID || !is_number($GroupID)) { error(404); }