X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/c20b44263a89d8bf1a78bfa632daaae3cb4f1da2..01542f14922263c0e500aa50e83166f4fb2e3ae8:/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