mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 12:26:39 -04:00
Some type check fixes
This commit is contained in:
parent
a46ff8e137
commit
7a6a743295
4 changed files with 3 additions and 4 deletions
|
@ -121,7 +121,7 @@ catch(Exceptions\EbookNotFoundException){
|
|||
</section>
|
||||
|
||||
<? if(Session::$User?->Benefits->CanEditEbooks || Session::$User?->Benefits->CanEditEbookPlaceholders){ ?>
|
||||
<?= Template::EbookMetadata(['ebook' => $ebook, 'showPlaceholderMetadata' => Session::$User?->Benefits->CanEditEbookPlaceholders]) ?>
|
||||
<?= Template::EbookMetadata(['ebook' => $ebook, 'showPlaceholderMetadata' => Session::$User->Benefits->CanEditEbookPlaceholders]) ?>
|
||||
<? } ?>
|
||||
|
||||
<? if(Session::$User?->Benefits->CanEditProjects || Session::$User?->Benefits->CanManageProjects || Session::$User?->Benefits->CanReviewProjects){ ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue