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