X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/3ce5baadaeb81d51bf65df85415fe1adf52f32b2..HEAD:/api/posts_all.php?ds=sidebyside diff --git a/api/posts_all.php b/api/posts_all.php index 0831d9f..9abf181 100644 --- a/api/posts_all.php +++ b/api/posts_all.php @@ -45,8 +45,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 '';