mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	check if return value of hook for adding attributes is a string
This commit is contained in:
		
							parent
							
								
									23cf76aef2
								
							
						
					
					
						commit
						24458ab648
					
				|  | @ -327,6 +327,8 @@ $(document).ready(function() { | |||
| 			foreach($arrs as $arr) { | ||||
| 				$this->formField($arr[0], $arr[1]); | ||||
| 			} | ||||
| 		} elseif(is_string($arrs)) { | ||||
| 			echo $arrs; | ||||
| 		} | ||||
| 
 | ||||
| 		$this->contentSubHeading(getMLText("version_info")); | ||||
|  | @ -391,6 +393,8 @@ $(document).ready(function() { | |||
| 			foreach($arrs as $arr) { | ||||
| 				$this->formField($arr[0], $arr[1]); | ||||
| 			} | ||||
| 		} elseif(is_string($arrs)) { | ||||
| 			echo $arrs; | ||||
| 		} | ||||
| 
 | ||||
| 		if($workflowmode == 'advanced') { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann