Profile_prefs::getAll fix call to listFind

2nd argument needs to be an array
This commit is contained in:
Chimo 2015-12-17 14:55:39 +00:00
parent bb0faaea56
commit 71119e4980
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}