From 5470df353ab58a5a4664453f2eb29febed15fbb6 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Mon, 19 Dec 2011 14:07:55 +0000 Subject: bug:2539 we can't edit the same comment twice without change page git-svn-id: http://piwigo.org/svn/trunk@12765 68402e56-0260-453c-a942-63ccdbb3a9ee --- comments.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'comments.php') 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); } -- cgit v1.2.3