From 06949ab2c7a12ec60bf7ad7ce830c69f862c1ad6 Mon Sep 17 00:00:00 2001 From: Giraffaman Date: Sat, 23 Mar 2024 20:06:09 +0100 Subject: [PATCH] --- ext/post_tags/main.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/post_tags/main.php b/ext/post_tags/main.php index 98ed5ba4c..9b82db080 100644 --- a/ext/post_tags/main.php +++ b/ext/post_tags/main.php @@ -178,7 +178,9 @@ public function onTagSet(TagSetEvent $event): void global $user; error_log("post_tag: new tag set!"); if ($user->can(Permissions::EDIT_IMAGE_TAG) && (!$event->image->is_locked() || $user->can(Permissions::EDIT_IMAGE_LOCK))) { - error_log("post_tag: ".$event->new_tags." is normal tag."); + foreach($event->new_tags as $nt) { + error_log("new tag ".$nt." is normal tag"); + } $event->image->set_tags($event->new_tags); } foreach ($event->metatags as $tag) {