diff options
| author | 2017-03-26 15:02:35 +0200 | |
|---|---|---|
| committer | 2017-03-26 15:02:35 +0200 | |
| commit | cc235c6af36e4cbfcdced1ee323559a32ca65114 (patch) | |
| tree | b15b3545ad7be9bbbdaf2e8659404984d82189c2 /app/Models/EntryDAO.php | |
| parent | a513ca9030314dec0f01b3cc147ceaf0c9b14d88 (diff) | |
SimplePie light manual update
Diffstat (limited to 'app/Models/EntryDAO.php')
| -rw-r--r-- | app/Models/EntryDAO.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php index afcde3d7f..0167695ca 100644 --- a/app/Models/EntryDAO.php +++ b/app/Models/EntryDAO.php @@ -157,7 +157,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo implements FreshRSS_Searchable { $info = $this->addEntryPrepared == null ? array(0 => '', 1 => '', 2 => 'syntax error') : $this->addEntryPrepared->errorInfo(); if ($this->autoUpdateDb($info)) { return $this->addEntry($valuesTmp); - } elseif ((int)($info[0] / 1000) !== 23) { //Filter out "SQLSTATE Class code 23: Constraint Violation" because of expected duplicate entries + } elseif ((int)((int)$info[0] / 1000) !== 23) { //Filter out "SQLSTATE Class code 23: Constraint Violation" because of expected duplicate entries Minz_Log::error('SQL error addEntry: ' . $info[0] . ': ' . $info[1] . ' ' . $info[2] . ' while adding entry in feed ' . $valuesTmp['id_feed'] . ' with title: ' . $valuesTmp['title']); } |
