Skip to content
Snippets Groups Projects
Commit 674e41c7 authored by totten's avatar totten
Browse files

(#5017) - Angular Manager / PHP 7.3

parent d10fdfa0
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,9 @@ class Manager {
foreach ($angularModules as $module => $info) {
// This property must be an array. If null, set to the historical default of ['civicrm/a']
// (historical default preserved for backward-compat reasons, but a better default would be the more common value of []).
$angularModules[$module]['basePages'] ??= ['civicrm/a'];
if (!isset($angularModules[$module]['basePages'])) {
$angularModules[$module]['basePages'] = ['civicrm/a'];
}
if (!empty($info['settings'])) {
\CRM_Core_Error::deprecatedWarning(sprintf('The Angular file "%s" from extension "%s" must be updated to use "settingsFactory" instead of "settings". See https://github.com/civicrm/civicrm-core/pull/19052', $info['module'], $info['ext']));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment