From: Chimo Date: Thu, 17 Dec 2015 14:55:39 +0000 (+0000) Subject: Profile_prefs::getAll fix call to listFind X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;ds=sidebyside;h=71119e498022035bb21fee77a0cd3043fd72a110;p=quix0rs-gnu-social.git Profile_prefs::getAll fix call to listFind 2nd argument needs to be an array --- diff --git a/classes/Profile_prefs.php b/classes/Profile_prefs.php index 72a707cae8..996fc1b6b6 100644 --- a/classes/Profile_prefs.php +++ b/classes/Profile_prefs.php @@ -85,7 +85,7 @@ class Profile_prefs extends Managed_DataObject static function getAll(Profile $profile) { try { - $prefs = self::listFind('profile_id', $profile->getID()); + $prefs = self::listFind('profile_id', array($profile->getID())); } catch (NoResultException $e) { return array(); }