web端主题安装错误修复

feat/task1-c-wallet
gongfuxiang 2024-10-28 10:49:14 +08:00
parent 37fa58f5ac
commit 1e5300b065
1 changed files with 2 additions and 2 deletions

View File

@ -536,8 +536,8 @@ class ThemeAdminService
'type' => 'webtheme',
'config' => $data,
'plugins' => $theme,
'author' => $data['author'],
'ver' => isset($data['version']) ? $data['version'] : $data['ver'],
'author' => isset($data['author']) ? $data['author'] : '',
'ver' => isset($data['version']) ? $data['version'] : (isset($data['ver']) ? $data['ver'] : ''),
];
$ret = StoreService::PluginsLegalCheck($check_params);
MyCache($key, $ret, 3600);