mirror of
				https://github.com/Icinga/icingaweb2-module-director.git
				synced 2025-10-31 19:34:18 +01:00 
			
		
		
		
	ObjectController: correctly load fields
This commit is contained in:
		
							parent
							
								
									ef46c9de56
								
							
						
					
					
						commit
						45e6cb9944
					
				| @ -162,7 +162,10 @@ abstract class ObjectController extends ActionController | |||||||
|             ->setIcingaObject($object); |             ->setIcingaObject($object); | ||||||
| 
 | 
 | ||||||
|         if ($id = $this->params->get('field_id')) { |         if ($id = $this->params->get('field_id')) { | ||||||
|             $form->loadObject($id); |             $form->loadObject(array( | ||||||
|  |                 $type . '_id' => $object->id, | ||||||
|  |                 'datafield_id' => $id | ||||||
|  |             )); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         $form->handleRequest(); |         $form->handleRequest(); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user