From 788cf0a1b1a8a7fc3561bc8eb3347ce204f2120f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 12 Oct 2013 09:55:35 +0400 Subject: [PATCH] api: fix setArticleLabel expecting wrong format for label_id --- classes/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5