mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	Merge branch 'seeddms-5.0.x' into seeddms-5.1.x
This commit is contained in:
		
						commit
						5cf7611304
					
				|  | @ -826,7 +826,7 @@ class SeedDMS_Core_DMS { | |||
| 					$searchQuery = "SELECT DISTINCT `tblFolders`.* ".$searchQuery." GROUP BY `tblFolders`.`id`"; | ||||
| 
 | ||||
| 					if($limit) { | ||||
| 						$searchQuery .= " LIMIT ".$offset.",".$limit; | ||||
| 						$searchQuery .= " LIMIT ".$limit." OFFSET ".$offset; | ||||
| 					} | ||||
| 
 | ||||
| 					// Send the complete search query to the database.
 | ||||
|  | @ -1058,7 +1058,7 @@ class SeedDMS_Core_DMS { | |||
| 						else | ||||
| 							$offset = 0; | ||||
| 						if($limit) | ||||
| 							$searchQuery .= " LIMIT ".$offset.",".$remain; | ||||
| 							$searchQuery .= " LIMIT ".$limit." OFFSET ".$offset; | ||||
| 
 | ||||
| 						// Send the complete search query to the database.
 | ||||
| 						$resArr = $this->db->getResultArray($searchQuery); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann