Release of v4.0.0-rc1
Improved the Schema Table update engine (more). Fix autoloader timing, and loading. Implement the Joomla Powers in JCB code, to move away from JClasses.
This commit is contained in:
@ -1469,11 +1469,9 @@ class Joomla_componentModel extends AdminModel
|
||||
{
|
||||
$data['system_name'] = $data['name'];
|
||||
}
|
||||
|
||||
// make sure that the component code name is safe.
|
||||
if (isset($data['name_code']) && is_string($data['name_code']))
|
||||
{
|
||||
$data['name_code'] = ComponentCodeNameHelper::safe($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)
|
||||
|
Reference in New Issue
Block a user