aboutsummaryrefslogtreecommitdiff
path: root/app/Models/EntryDAO.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-16 15:19:11 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-16 15:19:11 +0200
commit38289beb66b51ce518cf7dc03faf6abc388eedbd (patch)
tree530d02966b65e730e6c136a836cdc7bd7bf26a01 /app/Models/EntryDAO.php
parent1f9f9ce972050f95be6176338aa9e15406c36553 (diff)
Fix updateEntry warning
https://github.com/FreshRSS/FreshRSS/issues/1325
Diffstat (limited to 'app/Models/EntryDAO.php')
-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();