Bram de Leeuw ecb233012d
Fix error when executing method SSViewer::templates() when $subTemplates is still null
Without the fix this causes the framework to throw a 500 error:
`ERROR [Warning]: array_merge(): Expected parameter 2 to be an array, null given`

I noticed the error while doing a search with the `GridFieldAddExistingAutocompleter`. The error probably gets supressed on live environments.
2021-08-05 12:10:06 +02:00
..
2020-12-21 22:23:23 +01:00
2021-03-01 20:37:04 +13:00
2020-12-21 22:23:23 +01:00
2020-12-21 22:23:23 +01:00
2020-12-21 22:23:23 +01:00
2021-01-14 11:07:58 +13:00
2021-01-14 11:07:58 +13:00
2020-12-21 22:23:23 +01:00
2016-11-29 12:31:16 +13:00