1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 19:05:55 +00:00

fix label cache being double escaped on save

remove some old-style escaping
This commit is contained in:
Andrew Dolgov
2017-12-02 15:47:28 +03:00
parent 7a1872c1e0
commit e4befe6bf4
3 changed files with 8 additions and 10 deletions

View File

@@ -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 = ?");