Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Few updates for the new features...

git-svn-id: http://svn.assembla.com/svn/icy_phoenix/extras@259 e0e46c49-be69-4f5a-ad62-21024a331aea
  • Loading branch information...
commit a29ff3e1c2e4148883a8363cb3b7ad0b41d92731 1 parent c78338c
@MightyGorgon authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 trunk/kb/ip_root/plugins/kb/includes/functions_kb.php
View
4 trunk/kb/ip_root/plugins/kb/includes/functions_kb.php
@@ -1358,9 +1358,9 @@ function get_kb_comments($topic_id = '', $start = -1, $show_num_comments = 0)
FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u
WHERE p.topic_id = $topic_id
AND u.user_id = p.poster_id
- ORDER BY p.post_time $post_time_order";
+ ORDER BY p.post_time ASC";
- if ($start > -1 && $show_num_comments > 0)
+ if (($start > -1) && ($show_num_comments > 0))
{
$sql .= " LIMIT $start, $show_num_comments ";
}
Please sign in to comment.
Something went wrong with that request. Please try again.