From 1ffd8795d89faf34580c4e0d6ac08b1556a4c712 Mon Sep 17 00:00:00 2001 From: garvinhicking <garvinhicking> Date: Tue, 25 Apr 2006 08:15:11 +0000 Subject: [PATCH] fix IIS redirection issue --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 96f5a3d..13d24da 100644 --- 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']; -- 2.39.5