diff options
| author | 2014-08-19 20:58:18 +0200 | |
|---|---|---|
| committer | 2014-08-19 20:58:18 +0200 | |
| commit | 50075bfbdcd6a7be010eb82ce1fffac0ea283de7 (patch) | |
| tree | 4613176d3fe655954101024008bd1bea4b0ae232 /app/Models/EntryDAO.php | |
| parent | 5c2f3349fa4341533aad6294c896b32c4befd58f (diff) | |
Improvement for ASC order
https://github.com/marienfressinaud/FreshRSS/issues/495
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 a9ffa138b..488b70fb6 100644 --- a/app/Models/EntryDAO.php +++ b/app/Models/EntryDAO.php @@ -230,7 +230,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo { } $this->bd->beginTransaction(); - $sql = 'UPDATE `' . $this->prefix . 'entry` ' + $sql = 'UPDATE `' . $this->prefix . 'entry` ' . 'SET is_read=1 ' . 'WHERE id_feed=? AND is_read=0 AND id <= ?'; $values = array($id, $idMax); |
