From c4eb313385146bcdd32f697d152fe9642b343b2b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Wed, 4 Dec 2019 13:30:49 +0100 Subject: [PATCH] Fix array to string conversion in removeReactions --- .../install/files/lib/system/reaction/ReactionHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/reaction/ReactionHandler.class.php b/wcfsetup/install/files/lib/system/reaction/ReactionHandler.class.php index e157c1dfa5..355f2df153 100644 --- a/wcfsetup/install/files/lib/system/reaction/ReactionHandler.class.php +++ b/wcfsetup/install/files/lib/system/reaction/ReactionHandler.class.php @@ -674,7 +674,7 @@ class ReactionHandler extends SingletonFactory { // delete like objects if (!empty($likeObjectIDs)) { - (new LikeObjectAction([$likeObjectIDs], 'delete'))->executeAction(); + (new LikeObjectAction($likeObjectIDs, 'delete'))->executeAction(); } // delete activity events -- 2.20.1