From e2f6440e18f97fb87989b6b98b1a261b0cb1d87f Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Thu, 17 Jul 2014 08:51:36 +0200 Subject: [PATCH] Fixed logging of tag removal in mass tag --- src/Api/Jobs/PostJobs/TogglePostTagJob.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Api/Jobs/PostJobs/TogglePostTagJob.php b/src/Api/Jobs/PostJobs/TogglePostTagJob.php index c4c314cc..172e2027 100644 --- a/src/Api/Jobs/PostJobs/TogglePostTagJob.php +++ b/src/Api/Jobs/PostJobs/TogglePostTagJob.php @@ -44,14 +44,14 @@ class TogglePostTagJob extends AbstractJob Logger::log('{user} tagged {post} with {tag}', [ 'user' => TextHelper::reprUser(Auth::getCurrentUser()), 'post' => TextHelper::reprPost($post), - 'tag' => TextHelper::reprTag($tag)]); + 'tag' => TextHelper::reprTag($tagName)]); } else { Logger::log('{user} untagged {post} with {tag}', [ 'user' => TextHelper::reprUser(Auth::getCurrentUser()), 'post' => TextHelper::reprPost($post), - 'tag' => TextHelper::reprTag($tag)]); + 'tag' => TextHelper::reprTag($tagName)]); } return $post;