kopia lustrzana https://github.com/pixelfed/pixelfed
				
				
				
			Update NotificationTransformer, fixes #2389
							rodzic
							
								
									96c1b4da1c
								
							
						
					
					
						commit
						c4506ebd71
					
				| 
						 | 
				
			
			@ -37,10 +37,10 @@ class NotificationTransformer extends Fractal\TransformerAbstract
 | 
			
		|||
			if($status) {
 | 
			
		||||
				return $this->item($status, new StatusTransformer());
 | 
			
		||||
			} else {
 | 
			
		||||
				return $this->collection([], new StatusTransformer());
 | 
			
		||||
				return;
 | 
			
		||||
			}
 | 
			
		||||
		} else {
 | 
			
		||||
			return $this->collection([], new StatusTransformer());
 | 
			
		||||
			return;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue