Fixed logging of tag removal in mass tag

This commit is contained in:
Marcin Kurczewski 2014-07-17 08:51:36 +02:00
parent f885acb5f2
commit e2f6440e18

View file

@ -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;