diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-05-13 06:57:54 +0200 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-05-13 06:57:54 +0200 |
commit | 803b83fb7d051593066b5224a59fbf3ec6efc824 (patch) | |
tree | 173c97393f9e211b05f8c73793c180a1b88799b0 /www/api/posts_add.php | |
parent | fbfbd8d5cae579058b5d31b97c062cefd9bb36b6 (diff) | |
parent | 88d7b9631b444cef28115fb8e0bae736b45e557e (diff) | |
download | semanticscuttle-803b83fb7d051593066b5224a59fbf3ec6efc824.tar.gz semanticscuttle-803b83fb7d051593066b5224a59fbf3ec6efc824.tar.bz2 |
Merge branch 'master' into ssl-client-certs
Diffstat (limited to 'www/api/posts_add.php')
-rw-r--r-- | www/api/posts_add.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/api/posts_add.php b/www/api/posts_add.php index 7f9dc59..80d6515 100644 --- a/www/api/posts_add.php +++ b/www/api/posts_add.php @@ -81,7 +81,7 @@ if (isset($_REQUEST['dt']) && (trim($_REQUEST['dt']) != '')) { $replace = isset($_REQUEST['replace']) && ($_REQUEST['replace'] == 'yes'); -$status = 0; +$status = $GLOBALS['defaults']['privacy']; if (isset($_REQUEST['status'])) { $status_str = trim($_REQUEST['status']); if (is_numeric($status_str)) { |