mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	call hoock postEditDocument even after hook editDocument
This commit is contained in:
		
							parent
							
								
									98c1220260
								
							
						
					
					
						commit
						e91dd1c09c
					
				|  | @ -165,11 +165,14 @@ class SeedDMS_Controller_EditDocument extends SeedDMS_Controller_Common { | |||
| 				} | ||||
| 			} | ||||
|   | ||||
| 			if(!$this->callHook('postEditDocument')) { | ||||
| 			} | ||||
| 		} elseif($result === false) { | ||||
| 			if(empty($this->errormsg)) | ||||
| 				$this->errormsg = 'hook_editDocument_failed'; | ||||
| 			return false; | ||||
| 		} | ||||
| 
 | ||||
| 		} else | ||||
| 			return $result; | ||||
| 		if(!$this->callHook('postEditDocument')) { | ||||
| 		} | ||||
| 
 | ||||
| 		return true; | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann