]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Bookshelf.php
Update settings.php
[bookstack] / app / Entities / Bookshelf.php
index 62c7e2fe4f56c3e0a78f91105d6ba3c0da6dfad9..c7ba840e0ce0803f5e2da79ddf177bc1bb0dc563 100644 (file)
@@ -12,6 +12,8 @@ class Bookshelf extends Entity implements HasCoverImage
 
     protected $fillable = ['name', 'description', 'image_id'];
 
+    protected $hidden = ['restricted'];
+
     /**
      * Get the books in this shelf.
      * Should not be used directly since does not take into account permissions.