This commit is contained in:
2021-03-23 17:27:59 +08:00
parent 57c7df9ecb
commit 3350c76a55
+1 -1
View File
@@ -443,7 +443,7 @@ class Node extends HttpService
$_searchMatch = '/<(\w+)?:(.+)?>/';
foreach ($this->childes as $key => $val) {
if (preg_match($_searchMatch, $key, $match)) {
if (preg_match($_searchMatch, (string)$key, $match)) {
Input()->addGetParam($match[1] ?? '--', $search);
return $this->childes[$key];
}