From 5dc29f2404734fc8c417f603efca678b04ac2b56 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 16 Jun 2016 13:31:51 +0200 Subject: [PATCH] Added missing unset --- wcfsetup/install/files/lib/data/like/ViewableLikeList.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/data/like/ViewableLikeList.class.php b/wcfsetup/install/files/lib/data/like/ViewableLikeList.class.php index 766b7d67c5..0edeee1ba8 100644 --- a/wcfsetup/install/files/lib/data/like/ViewableLikeList.class.php +++ b/wcfsetup/install/files/lib/data/like/ViewableLikeList.class.php @@ -59,6 +59,7 @@ class ViewableLikeList extends LikeList { $likeGroups[$like->objectTypeID]['objects'][] = $like; } + unset($like); // set user profiles if (!empty($userIDs)) { -- 2.20.1