fixbug_21650 edit getByID.

This commit is contained in:
wangxiaomeng
2022-04-20 15:55:24 +08:00
parent 821413f1c4
commit b635d1bf59
+1 -1
View File
@@ -228,7 +228,7 @@ foreach($fieldParams as $fieldName => $param)
<ul>
<?php foreach($queries as $queryID => $queryName):?>
<?php if(empty($queryID)) continue;?>
<?php $query = $this->search->getById($queryID);?>
<?php $query = $this->search->getByID($queryID);?>
<li><?php echo html::a("javascript:executeQuery($queryID)", $queryName . ((common::hasPriv('search', 'deleteQuery') and $this->app->user->account == $query->account) ? '<i class="icon icon-close"></i>' : ''), '', "class='label user-query' data-query-id='$queryID' title='{$queryName}'");?></li>
<?php endforeach;?>
</ul>