Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4016
Modified Files:
NEWS serendipity_functions.inc.php
Log Message:
- Really fix comment counter for deleting non-approved comments, thanks to griffinn
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.449
retrieving revision 1.450
diff -u -d -r1.449 -r1.450
--- serendipity_functions.inc.php 20 Oct 2004 16:27:23 -0000 1.449
+++ serendipity_functions.inc.php 22 Oct 2004 17:31:09 -0000 1.450
@@ -1476,7 +1476,7 @@
$sql = serendipity_db_query("SELECT status FROM {$serendipity['dbPrefix']}comments
WHERE entry_id = '". (int)$entry_id ."'
AND id = '". (int)$id ."'
- $admin");
+ $admin", true);
serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}comments
WHERE entry_id = '". (int)$entry_id ."'
Index: NEWS
===================================================================
RCS file: /cvsroot/php-blog/serendipity/NEWS,v
retrieving revision 1.244
retrieving revision 1.245
diff -u -d -r1.244 -r1.245
--- NEWS 20 Oct 2004 17:02:02 -0000 1.244
+++ NEWS 22 Oct 2004 17:31:08 -0000 1.245
@@ -3,7 +3,10 @@
Version 0.7 ()
------------------------------------------------------------------------
-Version 0.7 (October 20th, 2004)
+ * Fixed comment counter for deleting non-approved comments
+ (tomsommer, griffinn)
+
+Version 0.7-rc1 (October 20th, 2004)
------------------------------------------------------------------------
* Fixed possible HTTP Response Splitting security issue. Thanks to
@@ -108,9 +111,6 @@
* Fixed missing CSS-class for BBCode Event-Plugin (Jez Hancock)
- * Fixed comment counter for deleting non-approved comments
- (tomsommer)
-
* Fixed possible SQL injections. Thanks to aCiDBiTS!
* Fixed postgreSQL quicksearch, thanks to Mauri Sahlberg!
|