mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
e20036482b
With the CMS 4.12 update functionality was altered to utilise an Extension to obtain the CMS Edit link for a page, rather than having SiteTree do it internally. Unfortunately the default return case for `extend` (see Extensible) is an _empty_ array. This leave code potentially referencing an array offset that doesn't exist ([0]). PHP 8 is less forgiving that it's predecessors on this kind of behaviour. We should check that the responses from extensions exist before trying to reference them. |
||
---|---|---|
.. | ||
CurrentPageIdentifier.php | ||
RedirectorPage.php | ||
RedirectorPageController.php | ||
SiteTree.php | ||
SiteTreeExtension.php | ||
SiteTreeFileExtension.php | ||
SiteTreeFileFormFactoryExtension.php | ||
SiteTreeFolderExtension.php | ||
SiteTreeLink.php | ||
SiteTreeLinkTracking_Parser.php | ||
SiteTreeLinkTracking.php | ||
VirtualPage.php |