Commit ef6cbfda authored by Steven Wittens's avatar Steven Wittens

- Fixing broken tablesort due to typo with quotes.

parent f2ac51dc
......@@ -85,7 +85,7 @@ function tablesort_header($cell, $header, $ts) {
$ts['sort'] = 'asc';
}
$title = t('sort by %s', array('%s' => $cell['data']));
$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'], $cell['sort']);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment