From 779dca4bdcefb711be1242b3e62d41e5b85139be Mon Sep 17 00:00:00 2001 From: vintagedaddyo Date: Sat, 16 May 2020 09:30:07 -0700 Subject: [PATCH] Update mysupport.php minor correction fixes the issue where in modcp support denial deny support functionality selector started breaking only after a support reason name and description is added in the acp --- files/inc/plugins/mysupport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/inc/plugins/mysupport.php b/files/inc/plugins/mysupport.php index 1945730..186b84c 100755 --- a/files/inc/plugins/mysupport.php +++ b/files/inc/plugins/mysupport.php @@ -2634,7 +2634,7 @@ function mysupport_modcp_support_denial() if(!empty($mysupport_cache['deniedreasons'])) { // if there's one or more reasons set, show them in a dropdown - foreach($mysupport_cache['deniedreasons'] as $deniedreasons) + foreach($mysupport_cache['deniedreasons'] as $deniedreason) { $selected = ""; // if a reason has been given, we'd be editing it, so this would select the current one