]> BookStack Code Mirror - bookstack/commit
Default templates: Fixed syntax for php8.0, added test 4721/head
authorDan Brown <redacted>
Tue, 12 Dec 2023 15:59:12 +0000 (15:59 +0000)
committerDan Brown <redacted>
Tue, 12 Dec 2023 15:59:12 +0000 (15:59 +0000)
commit3af07addf6742454f2f984dac24147e2fe65fde3
treed4ec6674207a4dda7f71d22255fb840304048f4e
parent2f3806244cbbe589d3130efcef038b2a62f05afa
Default templates: Fixed syntax for php8.0, added test

Null accessor is akward in php8.0 and throws warnings, so removed.
Added test to check template assingment handling on page delete.
resources/views/books/parts/form.blade.php
tests/Entity/BookDefaultTemplateTest.php