* [highgo] Fix bug #66843.

This commit is contained in:
朱金勇
2025-11-06 15:49:39 +08:00
committed by Gitfox
parent 5048fc6c77
commit 1bcd64efac
+2 -2
View File
@@ -203,8 +203,8 @@ class searchModel extends model
for($i = 1; $i <= $groupItems * 2; $i ++)
{
/* The and or between two groups. */
if($i == 1) $where .= '(( 1 ';
if($i == $groupItems + 1) $where .= " ) $groupAndOr ( 1 ";
if($i == 1) $where .= '(( 1 = 1 ';
if($i == $groupItems + 1) $where .= " ) $groupAndOr ( 1 = 1 ";
/* Set var names. */
$fieldName = "field$i";