Fixed mismatch of transferred types for search page
This commit is contained in:
parent
88458ad942
commit
3fb3a5e1e3
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class Execute extends Method
|
|||
|
||||
if (! empty($row['search_time']) && \time() - $row['search_time'] < 60 * 5) { //????
|
||||
$result = \explode("\n", $row['search_data']);
|
||||
$this->model->queryIds = '' == $result[0] ? [] : \explode(',', $result[0]);
|
||||
$this->model->queryIds = '' == $result[0] ? [] : \array_map('\\intval', \explode(',', $result[0]));
|
||||
$this->model->queryNoCache = false;
|
||||
return true;
|
||||
} elseif ($flood) {
|
||||
|
|
Loading…
Add table
Reference in a new issue