Revert "fix the case when relation is set to null"
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				soko-web/pipeline/pr-master This commit looks good
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	soko-web/pipeline/pr-master This commit looks good
				
			This reverts commit 25548176bbd12318097a09300380ab9d44299cc3.
This commit is contained in:
		
							parent
							
								
									8a1820275d
								
							
						
					
					
						commit
						f037de014e
					
				@ -305,8 +305,6 @@ class PersistentDataManager implements IPersistentDataManager
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            if ($relationModel !== null) {
 | 
					            if ($relationModel !== null) {
 | 
				
			||||||
                $model->$methodSet($relationModel->getId());
 | 
					                $model->$methodSet($relationModel->getId());
 | 
				
			||||||
            } else {
 | 
					 | 
				
			||||||
                $model->$methodSet(null);
 | 
					 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user