mirror of
				https://github.com/Mibew/tray.git
				synced 2025-10-03 00:03:34 +03:00 
			
		
		
		
	Fixed bug in a SQL query in the libs/pagination.php file
This commit is contained in:
		
							parent
							
								
									31d689aa0d
								
							
						
					
					
						commit
						031dbdc2b2
					
				| @ -92,7 +92,7 @@ function select_with_pagintation($fields, $table, $conditions, $order, $countfie | ||||
| 	$db = Database::getInstance(); | ||||
| 
 | ||||
| 	list($count) = $db->query( | ||||
| 		"select count(". ($countfields ? $countfieds : "*") .") from {$table} " . | ||||
| 		"select count(". ($countfields ? $countfields : "*") .") from {$table} " . | ||||
| 		"where " . (count($conditions)  ? implode(" and ", $conditions) : "") . | ||||
| 		($order ? " " . $order : ""), | ||||
| 		$values, | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user