Added missing unset
authorMarcel Werk <burntime@woltlab.com>
Thu, 16 Jun 2016 11:31:51 +0000 (13:31 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 16 Jun 2016 11:47:24 +0000 (13:47 +0200)
wcfsetup/install/files/lib/data/like/ViewableLikeList.class.php

index 766b7d67c56038ff1d32427ba89bf5cd15c7d6f5..0edeee1ba8381f577aa6605ac488dde253daece2 100644 (file)
@@ -59,6 +59,7 @@ class ViewableLikeList extends LikeList {
                        
                        $likeGroups[$like->objectTypeID]['objects'][] = $like;
                }
+               unset($like);
                
                // set user profiles
                if (!empty($userIDs)) {