fix #16 (Sorting isn't working)

orig_fof
steveminutillo 2007-07-29 03:18:45 +00:00
parent e22777061e
commit 2636c8ef7b
1 changed files with 2 additions and 2 deletions

View File

@ -365,9 +365,9 @@ function fof_db_get_items($user_id=1, $feed=NULL, $what="unread", $when=NULL, $s
$args[] = $search;
}
$order = "order by i.item_published desc $limit_clause ";
$order_by = "order by i.item_published desc $limit_clause ";
$query = $select . $from . $where . $group . $order;
$query = $select . $from . $where . $group . $order_by;
$result = fof_safe_query($query, $args);