Release of v5.0.0-beta3

Add Joomla powers for namespace dynamic management.
This commit is contained in:
2024-04-16 20:26:48 +02:00
parent 25b751a935
commit 00f14c3bba
97 changed files with 6755 additions and 145 deletions

View File

@ -1461,9 +1461,11 @@ class Joomla_componentModel extends AdminModel
{
$data['system_name'] = $data['name'];
}
// make sure that the component code name is safe.
$data['name_code'] = ComponentCodeNameHelper::safe($data['name_code']);
if (isset($data['name_code']) && is_string($data['name_code']))
{
$data['name_code'] = ComponentCodeNameHelper::safe($data['name_code']);
}
// Set the GUID if empty or not valid
if (empty($data['guid']) && $data['id'] > 0)