mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 04:05:55 +00:00
fix label cache being double escaped on save
remove some old-style escaping
This commit is contained in:
@@ -976,12 +976,12 @@ class Article extends Handler_Protected {
|
||||
$label_cache = $row["label_cache"];
|
||||
|
||||
if ($label_cache) {
|
||||
$label_cache = json_decode($label_cache, true);
|
||||
$tmp = json_decode($label_cache, true);
|
||||
|
||||
if ($label_cache["no-labels"] == 1)
|
||||
if (!$tmp || $tmp["no-labels"] == 1)
|
||||
return $rv;
|
||||
else
|
||||
return $label_cache;
|
||||
return $tmp;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user