mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 18:11:52 -04:00
Add CanEditEbooks benefit and clean up some PHPStan errors
This commit is contained in:
parent
23b5c8ef31
commit
1a742baa51
10 changed files with 75 additions and 14 deletions
|
@ -110,6 +110,10 @@ foreach(Ebook::GetAll() as $ebook){
|
|||
continue;
|
||||
}
|
||||
|
||||
if($ebook->EbookCreated === null || $ebook->EbookUpdated === null){
|
||||
continue;
|
||||
}
|
||||
|
||||
$timestamp = $ebook->EbookCreated->format('Y-m');
|
||||
$updatedTimestamp = $ebook->EbookUpdated->getTimestamp();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue