Revision: 1488
Author: magike.net
Date: Thu Dec 30 18:52:31 2010
Log: fix issue 510
http://code.google.com/p/typecho/source/detail?r=1488

Modified:
 /trunk/var/Widget/Comments/Admin.php

=======================================
--- /trunk/var/Widget/Comments/Admin.php        Thu Apr 22 01:18:43 2010
+++ /trunk/var/Widget/Comments/Admin.php        Thu Dec 30 18:52:31 2010
@@ -109,7 +109,7 @@
         } else if ('hold' == $this->request->status) {
             $select->where('table.comments.status <> ?', 'approved');
         } else if ('available' != $this->request->status) {
- $select->where('table.comments.status = ? OR table.comments.status', 'approved', 'waiting'); + $select->where('table.comments.status = ? OR table.comments.status = ?', 'approved', 'waiting');
         } else if ('all' != $this->request->status) {
             $select->where('table.comments.status = ?', 'approved');
         }
_______________________________________________
announce mailing list
[email protected]
http://lists.typecho.org/mailman/listinfo/announce

回复