X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/c20b44263a89d8bf1a78bfa632daaae3cb4f1da2..91d3a96bb7741ba92d2d3d7a7dc7d18e0d79688f:/api/posts_recent.php diff --git a/api/posts_recent.php b/api/posts_recent.php index 22fc2bd..38124d2 100644 --- a/api/posts_recent.php +++ b/api/posts_recent.php @@ -1,17 +1,18 @@ + \r\n"; echo '\r\n"; -foreach($bookmarks['bookmarks'] as $row) { +foreach ($bookmarks['bookmarks'] as $row) { if (is_null($row['bDescription']) || (trim($row['bDescription']) == '')) $description = ''; else @@ -55,9 +56,14 @@ foreach($bookmarks['bookmarks'] as $row) { } else { $taglist = 'system:unfiled'; } + // The privacy setting in scuttle is to set bStatus to 2 in the database. + if(trim($row['bStatus']) == '2') { + $shared = "no"; + } else { + $shared = "yes"; + } - echo "\t\r\n"; + echo "\t\r\n"; } echo ''; -?> \ No newline at end of file