diff options
author | Andrew Dolgov <[email protected]> | 2012-10-31 12:55:24 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-10-31 12:55:24 +0400 |
commit | 1b4d1a6b449de081f2d45983df11950ac4c453bc (patch) | |
tree | 7fd3cf93fefb8c727448b5673e3acee8a75dbe59 /classes/api.php | |
parent | 4021d61ada06b250d40c4c508ab128581dc2e1ef (diff) |
sharepopup: implement assigning labels while sharing
Diffstat (limited to 'classes/api.php')
-rw-r--r-- | classes/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/api.php b/classes/api.php index 6e5ed4aa8..15576c7c0 100644 --- a/classes/api.php +++ b/classes/api.php @@ -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')); |