From 38289beb66b51ce518cf7dc03faf6abc388eedbd Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 16 Oct 2016 15:19:11 +0200 Subject: Fix updateEntry warning https://github.com/FreshRSS/FreshRSS/issues/1325 --- app/Models/EntryDAO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/EntryDAO.php') diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php index 938d90886..3959cb191 100644 --- a/app/Models/EntryDAO.php +++ b/app/Models/EntryDAO.php @@ -208,7 +208,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo implements FreshRSS_Searchable { $this->updateEntryPrepared->bindParam(':hash', $valuesTmp['hashBin']); } - if ($this->updateEntryPrepared && $this->updateEntryPrepared->execute($values)) { + if ($this->updateEntryPrepared && $this->updateEntryPrepared->execute()) { return $this->bd->lastInsertId(); } else { $info = $this->updateEntryPrepared == null ? array(0 => '', 1 => '', 2 => 'syntax error') : $this->updateEntryPrepared->errorInfo(); -- cgit v1.2.3