From 948416a58420b24556e8947fdde7cb3566084ccc Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 10 Dec 2006 22:52:15 +0000 Subject: [PATCH] r1350: Only show the sort direction image if we are in a sortable column mode --- 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 cec00f2..06a4ce9 100644 --- a/includes/class_sort.php +++ b/includes/class_sort.php @@ -365,7 +365,7 @@ class ListSorter { $build[] = ($sortable ? '' . $this->registry->columnNames["$column"] . '' : $this->registry->columnNames["$column"]); } - $image = (in_array($this->sortkey, $columns) ? $this->fetch_sort_image() : ''); + $image = ((in_array($this->sortkey, $columns) AND $sortable) ? $this->fetch_sort_image() : ''); $name = implode(' / ', $build); eval('$output .= "' . $this->registry->template->fetch('list_head') . '";'); } -- 2.43.5