Release of v5.0.2-alpha3

Fix database mySql update in J4+. Remove phpspreadsheet completely from Joomla 4+. Add option to use powers in preflight event in the installer class.
This commit is contained in:
2024-07-27 22:55:29 +02:00
parent 0cbe573fe0
commit c8b65b3b0b
25 changed files with 928 additions and 356 deletions

View File

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