Update of /cvsroot/php-blog/serendipity/include/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5920/include/admin
Modified Files:
comments.inc.php
Log Message:
fix ambiguous id field, thanks to loranger from the forums!
Index: comments.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/admin/comments.inc.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- comments.inc.php 21 Jan 2005 20:55:53 -0000 1.19
+++ comments.inc.php 25 Jan 2005 12:56:55 -0000 1.20
@@ -153,7 +153,7 @@
WHERE type = '$c_type'
". $and ."
" . (($serendipity['serendipityUserlevel'] != USERLEVEL_ADMIN) ? 'AND e.authorid = ' . $serendipity['authorId'] : '') . "
- ORDER BY id DESC $limit");
+ ORDER BY c.id DESC $limit");
?>
<script type="text/javascript">
function toggle(id) {
|