api: fix setArticleLabel expecting wrong format for label_id

master
Andrew Dolgov 11 years ago
parent e44ea76268
commit 788cf0a1b1

@ -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;

Loading…
Cancel
Save