aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-16 15:30:21 +0200
committerGravatar GitHub <noreply@github.com> 2016-10-16 15:30:21 +0200
commit77ceec127779cbcc3aa722693f8bfd2a73b65f7a (patch)
tree530d02966b65e730e6c136a836cdc7bd7bf26a01
parent1f9f9ce972050f95be6176338aa9e15406c36553 (diff)
parent38289beb66b51ce518cf7dc03faf6abc388eedbd (diff)
Merge pull request #1326 from Alkarex/updateEntry-warning
Fix updateEntry warning
-rw-r--r--app/Models/EntryDAO.php2
1 files changed, 1 insertions, 1 deletions
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();