diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-06-27 16:02:31 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-06-27 16:02:31 +0000 |
commit | 0a352809783d3f336b9da862f51a244a135134d4 (patch) | |
tree | 3ecd41160be1d4c06e22a243505bcfa941a25f96 /includes | |
parent | d4e7affba8faf00bccc48ec6028b9f20e62a35fc (diff) | |
download | brdo-0a352809783d3f336b9da862f51a244a135134d4.tar.gz brdo-0a352809783d3f336b9da862f51a244a135134d4.tar.bz2 |
- Patch #8603 by TDobes: added support for sticky forum topics to the blog
and forum module.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/tablesort.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/tablesort.inc b/includes/tablesort.inc index 2a6fc04c2..e72e078f5 100644 --- a/includes/tablesort.inc +++ b/includes/tablesort.inc @@ -14,12 +14,12 @@ function tablesort_pager() { return $cgi; } -function tablesort_sql($header) { +function tablesort_sql($header, $before = "") { $ts = tablesort_init($header); if ($ts['sql']) { $sql = check_query($ts['sql']); $sort = strtoupper(check_query($ts['sort'])); - return " ORDER BY $sql $sort"; + return " ORDER BY $before $sql $sort"; } } |