YammerImporter: 'group_id' field not always present in message data; avoid notice warning when checking it if it's missing
This commit is contained in:
		@@ -287,7 +287,7 @@ class YammerImporter
 | 
			
		||||
        }
 | 
			
		||||
        $options['created'] = $this->timestamp($item['created_at']);
 | 
			
		||||
 | 
			
		||||
        if ($item['group_id']) {
 | 
			
		||||
        if (!empty($item['group_id'])) {
 | 
			
		||||
            $groupId = $this->findImportedGroup($item['group_id']);
 | 
			
		||||
            if ($groupId) {
 | 
			
		||||
                $options['groups'] = array($groupId);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user