CMXX - Pricelists

This commit is contained in:
“VeLiTi”
2025-01-16 19:47:08 +01:00
parent 2dc2100269
commit d76c9ad9fd
9 changed files with 889 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ if(isset($criterias['totals']) && $criterias['totals']==''){
}
else {
$current_page = isset($criterias['p']) && is_numeric($criterias['p']) ? (int)$criterias['p'] : 1;
$stmt->bindValue('page', ($current_page - 1) * $page_rows_products, PDO::PARAM_INT);
$stmt->bindValue('page', ($current_page - 1) * $page_rows_translations, PDO::PARAM_INT);
$stmt->bindValue('num_products', $page_rows_translations, PDO::PARAM_INT);
//Excute Query