From 8b9ae3e89e61318b80c45ac68678c70da9ae1e40 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 7 May 2024 14:05:09 +0800 Subject: [PATCH] * Format queryID. --- module/execution/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/control.php b/module/execution/control.php index 59bc7175f0..2e197f425f 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -384,7 +384,7 @@ class execution extends control /* Set browseType, productID, moduleID and queryID. */ $browseType = strtolower($browseType); - $queryID = ($browseType == 'bysearch') ? $param : 0; + $queryID = ($browseType == 'bysearch') ? (int)$param : 0; /* Load pager. */ $this->app->loadClass('pager', true);