From ca860c754cf8dfa84d91a1cd1db6156825886e0b Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 4 Aug 2007 22:18:25 +0000 Subject: [PATCH] r1598: Forgot to add a TABLE_PREFIX to the query to get custom fields * Source/class_sort.php: (ListSorter::_fetchCustomFields): Add a TABLE_PREFIX to the non-permissions based query --- includes/class_sort.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class_sort.php b/includes/class_sort.php index 116d8e6..37ca3ab 100644 --- a/includes/class_sort.php +++ b/includes/class_sort.php @@ -536,7 +536,7 @@ class ListSorter } else { - $fields_fetch = $bugsys->db->query("SELECT * FROM bugfield"); + $fields_fetch = $bugsys->db->query("SELECT * FROM " . TABLE_PREFIX . "bugfield"); } while ($field = $bugsys->db->fetch_array($fields_fetch)) -- 2.22.5