Release of v4.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:51:45 +02:00
parent 64adfe0a6f
commit f5011dd707
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)