mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-21 06:47:20 -04:00
Merge pull request #1326 from Alkarex/updateEntry-warning
Fix updateEntry warning
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user