diff options
Diffstat (limited to 'classes/article.php')
-rw-r--r-- | classes/article.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/article.php b/classes/article.php index 1198eefa9..398132d12 100644 --- a/classes/article.php +++ b/classes/article.php @@ -44,7 +44,7 @@ class Article extends Handler_Protected { } else if ($mode == "raw") { if ($_REQUEST['html']) { header("Content-Type: text/html"); - print '<link rel="stylesheet" type="text/css" href="tt-rss.css"/>'; + print '<link rel="stylesheet" type="text/css" href="css/tt-rss.css"/>'; } $article = format_article($id, false); @@ -215,7 +215,7 @@ class Article extends Handler_Protected { $this->dbh->query("UPDATE ttrss_user_entries SET score = '$score' WHERE ref_id IN ($ids) AND owner_uid = " . $_SESSION["uid"]); - print json_encode(array("id" => $id, + print json_encode(array("id" => $ids, "score_pic" => get_score_pic($score))); } |