diff options
author | mistic100 <mistic@piwigo.org> | 2011-12-19 14:07:55 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2011-12-19 14:07:55 +0000 |
commit | 5470df353ab58a5a4664453f2eb29febed15fbb6 (patch) | |
tree | 5ec6864be991543feb6313adf3cd9a65159db4f9 /comments.php | |
parent | ca230a6f53e3a102faf5cb3633465ee8fc326663 (diff) |
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
Diffstat (limited to 'comments.php')
-rw-r--r-- | comments.php | 4 |
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); } |