From 91a97f2b0098b882173a5f65dba6336b4a3888aa Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 9 Mar 2012 22:49:26 +0000 Subject: [PATCH] no pages for one image --- contrib/tag_history/main.php | 2 +- contrib/tag_history/theme.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/tag_history/main.php b/contrib/tag_history/main.php index 1be0546c..0eb6e30d 100644 --- a/contrib/tag_history/main.php +++ b/contrib/tag_history/main.php @@ -73,7 +73,7 @@ class Tag_History extends Extension { else if($event->page_matches("tag_history") && $event->count_args() == 1) { // must be an attempt to view a tag history $image_id = int_escape($event->get_arg(0)); - $this->theme->display_history_page($page, $image_id, $this->get_tag_history_from_id($image_id, $page_id)); + $this->theme->display_history_page($page, $image_id, $this->get_tag_history_from_id($image_id)); } } diff --git a/contrib/tag_history/theme.php b/contrib/tag_history/theme.php index 2ee3fd65..126ca2a1 100644 --- a/contrib/tag_history/theme.php +++ b/contrib/tag_history/theme.php @@ -98,7 +98,7 @@ class Tag_HistoryTheme extends Themelet { } public function display_history_link(Page $page, /*int*/ $image_id) { - $link = 'Tag History'; + $link = 'Tag History'; $page->add_block(new Block(null, $link, "main", 5)); }