diff --git a/includes/tablesort.inc b/includes/tablesort.inc
index 74bd5e3cae4..308693b3cb4 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 = " ";
+ $image = ' ';
$dir = array("asc" => "ascending", "desc" => "descending");
$title = t("sort ". $dir[$ts['sort']]);
} else {
@@ -40,11 +40,11 @@ function tablesort($cell, $header) {
$ts['sort'] = "asc";
}
- $cell['data'] = l($cell['data'] . $image, $_GET['q'], array("title" => $title), "sort=". $ts['sort']. "&order=". urlencode($cell['data']). $ts['query_string']);
+ $cell['data'] = l($cell['data'] . $image, $_GET['q'], array("title" => $title), "sort=". $ts['sort']. "&order=". urlencode($cell['data']). $ts['query_string']);
unset($cell['field']);
unset($cell['sort']);
-
+
return $cell;
}
@@ -52,7 +52,7 @@ function tablesort_get_querystring() {
$cgi = $_SERVER['REQUEST_METHOD'] == 'GET' ? $_GET : $_POST;
foreach ($cgi as $key => $val) {
if ($key != 'order' && $key != 'sort' && $key != 'q') {
- $query_string .= "&" . $key . "=" . $val;
+ $query_string .= "&". $key ."=". $val;
}
}
return $query_string;