diff options
| author | 2014-07-07 21:12:13 +0200 | |
|---|---|---|
| committer | 2014-07-07 21:12:13 +0200 | |
| commit | e358c5e2e1f39ebc2b580fdd31f085d3423e9401 (patch) | |
| tree | fabf447ba1b62bfe869f16dcc4182daff5904e67 /app/Models/EntryDAOSQLite.php | |
| parent | 439a0e2991231db51232646736a4bf78cfb2bffd (diff) | |
SQL: SQLite syntax uniformisation
https://github.com/marienfressinaud/FreshRSS/commit/805c91da98c2f582e279f3c853fba9e43f572419#diff-101042bec0ff3ac9d691b2e77fca3313R7
Diffstat (limited to 'app/Models/EntryDAOSQLite.php')
| -rw-r--r-- | app/Models/EntryDAOSQLite.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/EntryDAOSQLite.php b/app/Models/EntryDAOSQLite.php index 4680c3eaa..efcbed521 100644 --- a/app/Models/EntryDAOSQLite.php +++ b/app/Models/EntryDAOSQLite.php @@ -10,7 +10,7 @@ class FreshRSS_EntryDAOSQLite extends FreshRSS_EntryDAO { $sql = 'UPDATE `' . $this->prefix . 'feed` ' . 'SET cache_nbUnreads=(' . 'SELECT COUNT(*) AS nbUnreads FROM `' . $this->prefix . 'entry` e ' - . 'WHERE e.id_feed=feed.id AND e.is_read=0) ' + . 'WHERE e.id_feed=`' . $this->prefix . 'feed`.id AND e.is_read=0) ' . 'WHERE 1'; $values = array(); if ($feedId !== false) { |
