mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 05:11:27 +00:00 
			
		
		
		
	pass accessobject to exitError view
This commit is contained in:
		
							parent
							
								
									98f7fc85f4
								
							
						
					
					
						commit
						13001867be
					
				|  | @ -180,10 +180,12 @@ class UI extends UI_Default { | |||
| 	} /* }}} */ | ||||
| 
 | ||||
| 	static function exitError($pagetitle, $error, $noexit=false, $plain=false) { | ||||
| 		global $theme, $dms, $user; | ||||
| 		global $theme, $dms, $user, $settings; | ||||
| 		$accessop = new SeedDMS_AccessOperation($dms, null, $user, $settings); | ||||
| 		$view = UI::factory($theme, 'ErrorDlg'); | ||||
| 		$view->setParam('dms', $dms); | ||||
| 		$view->setParam('user', $user); | ||||
| 		$view->setParam('accessobject', $accessop); | ||||
| 		$view->setParam('pagetitle', $pagetitle); | ||||
| 		$view->setParam('errormsg', $error); | ||||
| 		$view->setParam('plain', $plain); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann