diff options
author | bretticvs <bsdee@frii.com> | 2011-03-15 07:53:39 +0100 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-03-15 07:53:39 +0100 |
commit | 65bd4bfab86fc47be3ce125640ebd49163f24f4b (patch) | |
tree | 7f1c5464bfee6204f19d361bd1425d0328e9e1c9 /www/api | |
parent | 4cc46f268676d8df88ce6003df2a7bc9249fe7fb (diff) | |
download | semanticscuttle-65bd4bfab86fc47be3ce125640ebd49163f24f4b.tar.gz semanticscuttle-65bd4bfab86fc47be3ce125640ebd49163f24f4b.tar.bz2 |
Updates for feature request 3164348: Make default privacy configurable.
Diffstat (limited to 'www/api')
-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)) { |