From 3c7e8ecbbfeb37643ec82a43e9a269b0e4fa4e65 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sun, 29 Oct 2023 10:09:59 +0700 Subject: [PATCH] Update admin_attach_cp.php --- admin/admin_attach_cp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/admin_attach_cp.php b/admin/admin_attach_cp.php index e2b1b89f..1e9fe467 100644 --- a/admin/admin_attach_cp.php +++ b/admin/admin_attach_cp.php @@ -145,7 +145,7 @@ if (in_array($view, $view_types)) $select_view .= ''; } -if (count($mode_types_text) > 0) +if (count($mode_types_text) > 0 && !empty($mode_types)) { $select_sort_mode = '