no pages for one image
This commit is contained in:
		
							parent
							
								
									a7a50cb78f
								
							
						
					
					
						commit
						91a97f2b00
					
				| @ -73,7 +73,7 @@ class Tag_History extends Extension { | |||||||
| 		else if($event->page_matches("tag_history") && $event->count_args() == 1) { | 		else if($event->page_matches("tag_history") && $event->count_args() == 1) { | ||||||
| 			// must be an attempt to view a tag history
 | 			// must be an attempt to view a tag history
 | ||||||
| 			$image_id = int_escape($event->get_arg(0)); | 			$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)); | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 	 | 	 | ||||||
|  | |||||||
| @ -98,7 +98,7 @@ class Tag_HistoryTheme extends Themelet { | |||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	public function display_history_link(Page $page, /*int*/ $image_id) { | 	public function display_history_link(Page $page, /*int*/ $image_id) { | ||||||
| 		$link = '<a href="'.make_link("tag_history/$image_id/1").'">Tag History</a>'; | 		$link = '<a href="'.make_link("tag_history/$image_id").'">Tag History</a>'; | ||||||
| 		$page->add_block(new Block(null, $link, "main", 5)); | 		$page->add_block(new Block(null, $link, "main", 5)); | ||||||
| 	} | 	} | ||||||
| 	 | 	 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user