summaryrefslogtreecommitdiff
path: root/classes/labels.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-12-02 15:47:28 +0300
committerAndrew Dolgov <[email protected]>2017-12-02 15:47:53 +0300
commite4befe6bf43318766bcfd5a610b26be0aa1f82f0 (patch)
tree9ac566a6c770263091a48240c2887b8dc6224cbb /classes/labels.php
parent7a1872c1e08a4c71e901fccecba64942fd6e68b4 (diff)
fix label cache being double escaped on save
remove some old-style escaping
Diffstat (limited to 'classes/labels.php')
-rw-r--r--classes/labels.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/labels.php b/classes/labels.php
index 973732b99..4061de57e 100644
--- a/classes/labels.php
+++ b/classes/labels.php
@@ -62,7 +62,7 @@ class Labels
if (!$labels)
$labels = Article::get_article_labels($id);
- $labels = db_escape_string(json_encode($labels));
+ $labels = json_encode($labels);
$sth = $pdo->prepare("UPDATE ttrss_user_entries SET
label_cache = ? WHERE ref_id = ? AND owner_uid = ?");