diff options
| author | 2014-08-23 22:02:22 +0200 | |
|---|---|---|
| committer | 2014-08-23 22:02:22 +0200 | |
| commit | 1316ada15260e8f2fdb486595d5953bef9badc50 (patch) | |
| tree | 106f0b39835e8f278a8515a999c84097d85025b3 /app/Models/EntryDAO.php | |
| parent | ae54a143860bad200a0ef319052ccec512ef99e3 (diff) | |
Fix bug add favorite entry
See https://github.com/marienfressinaud/FreshRSS/issues/494
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 488b70fb6..75a8aeba4 100644 --- a/app/Models/EntryDAO.php +++ b/app/Models/EntryDAO.php @@ -65,7 +65,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo { } if (!isset($existingGuids[$entry->guid()]) && - ($feedHistory != 0 || $eDate >= $date_min)) { + ($feedHistory != 0 || $eDate >= $date_min || $entry->isFavorite())) { $values = $entry->toArray(); $useDeclaredDate = empty($existingGuids); |
