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:
mistic100
2011-12-19 14:07:55 +00:00
parent ca230a6f53
commit 5470df353a

View File

@@ -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);
}