1
0

Small bugfix for category sorting and HTTP-Auth

This commit is contained in:
Garvin Hicking
2006-11-23 11:27:07 +00:00
parent 241c238b5b
commit decfee8f94
3 changed files with 12 additions and 3 deletions

View File

@ -132,7 +132,8 @@ function &serendipity_fetchEntryCategories($entryid) {
FROM {$serendipity['dbPrefix']}category AS c
INNER JOIN {$serendipity['dbPrefix']}entrycat AS ec
ON ec.categoryid = c.categoryid
WHERE ec.entryid = {$entryid}";
WHERE ec.entryid = {$entryid}
ORDER BY c.category_name ASC";
$cat =& serendipity_db_query($query);
if (!is_array($cat)) {