* [task#150347] process the logic of ai model.
This commit is contained in:
@@ -1415,8 +1415,6 @@ class aiModel extends model
|
||||
if($data->published === '1') $data->publishedDate = helper::now();
|
||||
$data->builtIn = '0';
|
||||
|
||||
$data->model = (empty($data->model) || $data->model == 'default') ? 0 : $data->model;
|
||||
|
||||
if(!empty($data->iconName) && !empty($data->iconTheme))
|
||||
{
|
||||
$data->icon = $data->iconName . '-' . $data->iconTheme;
|
||||
|
||||
Reference in New Issue
Block a user