From: garvinhicking Date: Tue, 25 Apr 2006 08:15:11 +0000 (+0000) Subject: fix IIS redirection issue X-Git-Tag: 1.0~36 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1ffd8795d89faf34580c4e0d6ac08b1556a4c712;p=s9y.git fix IIS redirection issue --- 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'];