summaryrefslogtreecommitdiff
path: root/app/models/Entry.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-12 22:37:25 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-12 22:37:25 +0100
commit4c5e9d0dd828ec9da44b0f178edd73b7213d6d20 (patch)
treea67d8c4ff620ae16ea874f8b4688643285d62ccd /app/models/Entry.php
parentfcc2e023ef2a783c48a02e359d4b3d8c0ff23734 (diff)
Cohérence htmlspecialchars
Le texte dans la base de données est en htmlspecialchars(UTF-8) (c'est-à-dire avec `<>&'"` encodés) mais maintenant sans autre entité HTML depuis https://github.com/marienfressinaud/FreshRSS/commit/a4fc7becb8553198d132633d775989c89c8116cd Ce patch supprime les htmlspecialchars qui faisaient du double-encodage, et en modifie d'autres en entrée.
Diffstat (limited to 'app/models/Entry.php')
-rwxr-xr-xapp/models/Entry.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/Entry.php b/app/models/Entry.php
index 5c6b379d8..e40cb5992 100755
--- a/app/models/Entry.php
+++ b/app/models/Entry.php
@@ -409,7 +409,7 @@ class EntryDAO extends Model_pdo {
}
$sql = 'SELECT e.* FROM ' . $this->prefix . 'entry e'
- . ' INNER JOIN ' . $this->prefix . 'feed f ON e.id_feed = f.id' . $where
+ . ' INNER JOIN ' . $this->prefix . 'feed f ON e.id_feed = f.id' . $where
. ' ORDER BY e.date' . $order . ', e.id' . $order;
if (empty($limitCount)) {