mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user