Release of v4.0.3-alpha2
Fix library save as copy error. #1162. Fix the error when no components exists. #1164. Fix search page error due to File class.
This commit is contained in:
@ -1176,7 +1176,7 @@ class LibraryModel extends AdminModel
|
||||
// also check to insure these names are not used again
|
||||
if (!isset(ComponentbuilderHelper::$libraryNames[$data['id']]) && in_array($data['name'], ComponentbuilderHelper::$libraryNames))
|
||||
{
|
||||
$data['name'] = $this->generateUniqe('name', $data['name']);
|
||||
$data['name'] = $this->generateUnique('name', $data['name']);
|
||||
}
|
||||
|
||||
// Set the Params Items to data
|
||||
|
Reference in New Issue
Block a user