From 52d0d4fd72b0064e27c2eb26485faca838299700 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 19 Mar 2012 20:59:37 +0000 Subject: [PATCH] better log message --- contrib/tag_history/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/tag_history/main.php b/contrib/tag_history/main.php index ec7d4846..7bcddbd3 100644 --- a/contrib/tag_history/main.php +++ b/contrib/tag_history/main.php @@ -310,7 +310,7 @@ class Tag_History extends Extension { log_debug("tag_history", 'Reverting tags of Image #'.$stored_image_id.' to ['.$stored_tags.']'); // all should be ok so we can revert by firing the SetTags event. send_event(new TagSetEvent(Image::by_id($stored_image_id), $stored_tags)); - $this->theme->add_status('Reverted Change','Reverted Image #'.$image_id.' to Tag History #'.$id.' ('.$row['tags'].')'); + $this->theme->add_status('Reverted Change','Reverted Image #'.$image_id.' to Tag History #'.$stored_result_id.' ('.$row['tags'].')'); } }