Ver código fonte

Bug purge

https://github.com/marienfressinaud/FreshRSS/issues/493
Alexandre Alapetite 11 anos atrás
pai
commit
fc86d14ade
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Models/FeedDAO.php

+ 1 - 1
app/Models/FeedDAO.php

@@ -331,7 +331,7 @@ class FreshRSS_FeedDAO extends Minz_ModelPdo {
 		$id_max = intval($date_min) . '000000';
 		$id_max = intval($date_min) . '000000';
 
 
 		$stm->bindParam(':id_feed', $id, PDO::PARAM_INT);
 		$stm->bindParam(':id_feed', $id, PDO::PARAM_INT);
-		$stm->bindParam(':id_max', $id_max, PDO::PARAM_INT);
+		$stm->bindParam(':id_max', $id_max, PDO::PARAM_STR);
 		$stm->bindParam(':keep', $keep, PDO::PARAM_INT);
 		$stm->bindParam(':keep', $keep, PDO::PARAM_INT);
 
 
 		if ($stm && $stm->execute()) {
 		if ($stm && $stm->execute()) {