* Fix error.

This commit is contained in:
tianshujie
2023-03-23 15:48:50 +08:00
parent 363db8b962
commit f98ec5fc1c
4 changed files with 5 additions and 1 deletions
+1
View File
@@ -911,6 +911,7 @@ class apiModel extends model
*/
public function buildSearchForm($lib, $queryID, $actionURL, $libs = array(), $type = '')
{
if(empty($lib)) return;
$libPairs = array('' => '', $lib->id => $lib->name);
$this->config->api->search['module'] = 'api';
if(!empty($libs))