mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-30 20:51:22 +00:00 
			
		
		
		
	pass categories can be a list of strings
This commit is contained in:
		
							parent
							
								
									28174e3a33
								
							
						
					
					
						commit
						923e235b9a
					
				|  | @ -88,9 +88,13 @@ if($fullsearch) { | ||||||
| 		$category = $_GET['category']; | 		$category = $_GET['category']; | ||||||
| 		foreach($_GET['category'] as $catid) { | 		foreach($_GET['category'] as $catid) { | ||||||
| 			if($catid) { | 			if($catid) { | ||||||
| 				if($cat = $dms->getDocumentCategory($catid)) { | 				if(is_numeric($catid)) { | ||||||
| 					$categories[] = $cat; | 					if($cat = $dms->getDocumentCategory($catid)) { | ||||||
| 					$categorynames[] = $cat->getName(); | 						$categories[] = $cat; | ||||||
|  | 						$categorynames[] = $cat->getName(); | ||||||
|  | 					} | ||||||
|  | 				} else { | ||||||
|  | 					$categorynames[] = $catid; | ||||||
| 				} | 				} | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann