aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-12-19 14:09:36 +0000
committermistic100 <mistic@piwigo.org>2011-12-19 14:09:36 +0000
commitf1e6d98a5131f6409aa1cac7ee57e09d4a5a334e (patch)
treeff87f8d09d542a9963c7671d114cc81ae27caaef
parent07be1e5ab18bd4b6ba35b1ed67de46c67c9f568b (diff)
merge r12765 from trunk : bug:2539 we can't edit the same comment twice without change page
git-svn-id: http://piwigo.org/svn/branches/2.3@12766 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--comments.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/comments.php b/comments.php
index a4bd8ecf8..83b9b0f68 100644
--- a/comments.php
+++ b/comments.php
@@ -234,7 +234,7 @@ if (isset($action))
$_POST['key']
);
- $edit_comment = null;
+ $perform_redirect = true;
}
else
{
@@ -247,7 +247,7 @@ if (isset($action))
$redirect_url =
PHPWG_ROOT_PATH
.'comments.php'
- .get_query_string_diff(array('delete','validate','pwg_token'));
+ .get_query_string_diff(array('delete','edit','validate','pwg_token'));
redirect($redirect_url);
}