]> git.mjollnir.org Git - s9y.git/commitdiff
fix IIS redirection issue
authorgarvinhicking <garvinhicking>
Tue, 25 Apr 2006 08:15:11 +0000 (08:15 +0000)
committergarvinhicking <garvinhicking>
Tue, 25 Apr 2006 08:15:11 +0000 (08:15 +0000)
index.php

index 96f5a3da7c13cc1f16f9f53148939276006d89b1..13d24da997fc9698f44918d211d345981676d131 100644 (file)
--- a/index.php
+++ b/index.php
@@ -222,7 +222,7 @@ if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range
     $matches[1] = serendipity_searchPermalink($serendipity['permalinkStructure'], $uri, $matches[1], 'entry');
     serendipity_rememberComment();
 
-    if (!empty($serendipity['POST']['submit'])) {
+    if (!empty($serendipity['POST']['submit']) && !isset($_REQUEST['serendipity']['csuccess'])) {
         $comment['url']       = $serendipity['POST']['url'];
         $comment['comment']   = trim($serendipity['POST']['comment']);
         $comment['name']      = $serendipity['POST']['name'];