missing a bit

This commit is contained in:
Shish 2012-01-27 18:17:55 +00:00
parent 21904794ea
commit c664e8d872

View File

@ -63,9 +63,11 @@ class Tag_History implements Extension {
{ {
// this is a request to revert to a previous version of the tags // this is a request to revert to a previous version of the tags
if($config->get_bool("tag_edit_anon") || !$user->is_anonymous()) { if($config->get_bool("tag_edit_anon") || !$user->is_anonymous()) {
if(isset($_POST['revert'])) {
$this->process_revert_request($_POST['revert']); $this->process_revert_request($_POST['revert']);
} }
} }
}
else if($event->count_args() == 1) else if($event->count_args() == 1)
{ {
// must be an attempt to view a tag history // must be an attempt to view a tag history