* Fix bug#34233.

This commit is contained in:
朱金勇
2023-04-17 07:43:55 +00:00
parent da0259927a
commit 93acd3cc77
+1 -1
View File
@@ -375,7 +375,7 @@ class searchModel extends model
*/
public function getQuery($queryID)
{
$query = $this->dao->findByID($queryID)->from(TABLE_USERQUERY)->fetch();
$query = $this->dao->findByID((int)$queryID)->from(TABLE_USERQUERY)->fetch();
if(!$query) return false;
/* Decode html encode. */