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/importNetscape.php | |
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/importNetscape.php')
-rw-r--r-- | www/importNetscape.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/importNetscape.php b/www/importNetscape.php index e23c156..b476c40 100644 --- a/www/importNetscape.php +++ b/www/importNetscape.php @@ -28,7 +28,7 @@ $bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark'); /* Managing all possible inputs */ // First input is $_FILES // Other inputs -isset($_POST['status']) ? define('POST_STATUS', $_POST['status']): define('POST_STATUS', ''); +isset($_POST['status']) ? define('POST_STATUS', $_POST['status']): define('POST_STATUS', $GLOBALS['defaults']['privacy']); $countImportedBookmarks = 0; $tplVars['msg'] = ''; @@ -39,7 +39,7 @@ if ($userservice->isLoggedOn() && sizeof($_FILES) > 0 && $_FILES['userfile']['si if (is_numeric(POST_STATUS)) { $status = intval(POST_STATUS); } else { - $status = 2; + $status = $GLOBALS['defaults']['privacy']; } // File handle |