mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:55:55 +00:00
sharepopup: implement assigning labels while sharing
This commit is contained in:
@@ -439,7 +439,7 @@ class API extends Handler {
|
||||
$url = db_escape_string(strip_tags($_REQUEST["url"]));
|
||||
$content = db_escape_string(strip_tags($_REQUEST["content"]));
|
||||
|
||||
if (create_published_article($this->link, $title, $url, $content, $_SESSION["uid"])) {
|
||||
if (create_published_article($this->link, $title, $url, $content, "", $_SESSION["uid"])) {
|
||||
print $this->wrap(self::STATUS_OK, array("status" => 'OK'));
|
||||
} else {
|
||||
print $this->wrap(self::STATUS_ERR, array("error" => 'Publishing failed'));
|
||||
|
||||
Reference in New Issue
Block a user