summaryrefslogtreecommitdiff
path: root/includes/tablesort.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/tablesort.inc')
-rw-r--r--includes/tablesort.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/tablesort.inc b/includes/tablesort.inc
index 9c39c5ce8..3c2068e1b 100644
--- a/includes/tablesort.inc
+++ b/includes/tablesort.inc
@@ -86,9 +86,9 @@ function tablesort_header($cell, $header, $ts) {
}
if (!empty($ts['query_string'])) {
- $ts['query_string'] = '&'. $ts['query_string'];
+ $ts['query_string'] = '&' . $ts['query_string'];
}
- $cell['data'] = l($cell['data'] . $image, $_GET['q'], array('attributes' => array('title' => $title), 'query' => 'sort='. $ts['sort'] .'&order='. urlencode($cell['data']) . $ts['query_string'], 'html' => TRUE));
+ $cell['data'] = l($cell['data'] . $image, $_GET['q'], array('attributes' => array('title' => $title), 'query' => 'sort=' . $ts['sort'] . '&order=' . urlencode($cell['data']) . $ts['query_string'], 'html' => TRUE));
unset($cell['field'], $cell['sort']);
}