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:
2024-08-21 21:36:52 +02:00
parent 443a2aac58
commit e297cc88bb
14 changed files with 62 additions and 39 deletions

View File

@ -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