forked from GNUsocial/gnu-social
		
	Profile_prefs::getAll fix call to listFind
2nd argument needs to be an array
This commit is contained in:
		@@ -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();
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user