]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/note/init.php
move label stuff to Labels class
[tt-rss.git] / plugins / note / init.php
index dd372ce5e971554d342353d748fc15bde0d640e4..65cdf30e4854ec74121b19c3dc1112ded853debf 100644 (file)
@@ -62,7 +62,7 @@ class Note extends Plugin {
                db_query("UPDATE ttrss_user_entries SET note = '$note'
                        WHERE ref_id = '$id' AND owner_uid = " . $_SESSION["uid"]);
 
-               $formatted_note = format_article_note($id, $note);
+               $formatted_note = Article::format_article_note($id, $note);
 
                print json_encode(array("note" => $formatted_note,
                                "raw_length" => mb_strlen($note)));