summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-02-10 19:46:16 +0000
committerDries Buytaert <dries@buytaert.net>2004-02-10 19:46:16 +0000
commit62bcb3a9eedd2830e7630c6b44348f0e7cc2b162 (patch)
tree14bbc677bcb01e1f55f5302a1d96c9e535e9a8b7
parent6c99c2d86f305b61bd3dce90416d733c63a774f4 (diff)
downloadbrdo-62bcb3a9eedd2830e7630c6b44348f0e7cc2b162.tar.gz
brdo-62bcb3a9eedd2830e7630c6b44348f0e7cc2b162.tar.bz2
- Patch #5744 by JonBob: tablesort does not call theme("image") correctly.
-rw-r--r--includes/tablesort.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/tablesort.inc b/includes/tablesort.inc
index a15bcdfe4..352b68c35 100644
--- a/includes/tablesort.inc
+++ b/includes/tablesort.inc
@@ -32,7 +32,7 @@ function tablesort($cell, $header) {
// special formatting for the currently sorted column header
if ($cell['data'] == $ts['order']) {
$cell['class'] = 'cell-highlight';
- $image = '&nbsp;<img src="' . theme('image', 'arrow-' . $ts['sort'] . '.gif"') . ' alt="'. t('sort icon') .'" />';
+ $image = '&nbsp;<img src="' . theme('image', 'arrow-' . $ts['sort'] . '.gif') . '" alt="'. t('sort icon') .'" />';
$title = ($ts['sort'] == 'asc' ? t("sort ascending") : t("sort descending"));
} else {
// If the user clicks a different header, we want to sort ascending initially.