silverstripe-cms/code/Model
Dylan Wagstaff e20036482b FIX undefined index error in CMS
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.
2023-03-28 18:58:55 +13:00
..
CurrentPageIdentifier.php Auto-convert to psr2 2017-01-31 13:59:35 +13:00
RedirectorPage.php ENH PHP 8.1 compatibility 2022-04-13 17:07:59 +12:00
RedirectorPageController.php FIX Allow RedirectorPage to have non-redirected actions, move redirection to index 2017-06-23 11:23:31 +12:00
SiteTree.php FIX undefined index error in CMS 2023-03-28 18:58:55 +13:00
SiteTreeExtension.php Auto-convert to psr2 2017-01-31 13:59:35 +13:00
SiteTreeFileExtension.php API Update deprecations 2022-10-18 15:23:59 +13:00
SiteTreeFileFormFactoryExtension.php API Update deprecations 2022-10-18 15:23:59 +13:00
SiteTreeFolderExtension.php API Update deprecations 2022-10-18 15:23:59 +13:00
SiteTreeLink.php API Implement polymorphic sitetree link tracking (#2123) 2018-04-06 15:53:57 +12:00
SiteTreeLinkTracking.php ENH PHP 8.1 compatibility 2022-04-13 17:07:59 +12:00
SiteTreeLinkTracking_Parser.php ENH PHP 8.1 compatibility 2022-04-13 17:07:59 +12:00
VirtualPage.php API Update deprecations 2022-10-18 15:23:59 +13:00