aboutsummaryrefslogtreecommitdiff
path: root/www/bookmarks.php
diff options
context:
space:
mode:
authorbretticvs <bsdee@frii.com>2011-03-15 07:53:39 +0100
committerChristian Weiske <cweiske@cweiske.de>2011-03-15 07:53:39 +0100
commit65bd4bfab86fc47be3ce125640ebd49163f24f4b (patch)
tree7f1c5464bfee6204f19d361bd1425d0328e9e1c9 /www/bookmarks.php
parent4cc46f268676d8df88ce6003df2a7bc9249fe7fb (diff)
downloadsemanticscuttle-65bd4bfab86fc47be3ce125640ebd49163f24f4b.tar.gz
semanticscuttle-65bd4bfab86fc47be3ce125640ebd49163f24f4b.tar.bz2
Updates for feature request 3164348: Make default privacy configurable.
Diffstat (limited to 'www/bookmarks.php')
-rw-r--r--www/bookmarks.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/bookmarks.php b/www/bookmarks.php
index 5241481..d4fe051 100644
--- a/www/bookmarks.php
+++ b/www/bookmarks.php
@@ -185,7 +185,7 @@ if ($templatename == 'editbookmark.tpl') {
'bDescription' => stripslashes(POST_DESCRIPTION),
'bPrivateNote' => stripslashes(POST_PRIVATENOTE),
'tags' => (POST_TAGS ? explode(',', stripslashes(POST_TAGS)) : array()),
- 'bStatus' => 0,
+ 'bStatus' => $GLOBALS['defaults']['privacy'],
);
$tplVars['tags'] = POST_TAGS;
} else {
@@ -201,7 +201,7 @@ if ($templatename == 'editbookmark.tpl') {
'bDescription' => stripslashes(GET_DESCRIPTION),
'bPrivateNote' => stripslashes(GET_PRIVATENOTE),
'tags' => (GET_TAGS ? explode(',', stripslashes(GET_TAGS)) : array()),
- 'bStatus' => 0
+ 'bStatus' => $GLOBALS['defaults']['privacy']
);
}