From: Andrew Dolgov Date: Sat, 12 Oct 2013 05:55:35 +0000 (+0400) Subject: api: fix setArticleLabel expecting wrong format for label_id X-Git-Tag: 1.11~40 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=788cf0a1b1a8a7fc3561bc8eb3347ce204f2120f;p=tt-rss.git api: fix setArticleLabel expecting wrong format for label_id --- diff --git a/classes/api.php b/classes/api.php index bbbcbb5a..b62a8b5f 100644 --- a/classes/api.php +++ b/classes/api.php @@ -447,7 +447,7 @@ class API extends Handler { $assign = (bool) $this->dbh->escape_string($_REQUEST['assign']) == "true"; $label = $this->dbh->escape_string(label_find_caption( - $label_id, $_SESSION["uid"])); + feed_to_label_id($label_id), $_SESSION["uid"])); $num_updated = 0;