diff --git a/ext/mass_tagger/main.php b/ext/mass_tagger/main.php index 03a08c50..2216699b 100644 --- a/ext/mass_tagger/main.php +++ b/ext/mass_tagger/main.php @@ -53,6 +53,7 @@ class MassTagger extends Extension { } $page->set_mode("redirect"); + if(!isset($_SERVER['HTTP_REFERER'])) $_SERVER['HTTP_REFERER'] = make_link(); $page->set_redirect($_SERVER['HTTP_REFERER']); } }