diff --git a/core/module/config/config.php b/core/module/config/config.php index f4436cf3..712b1cae 100755 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -481,9 +481,15 @@ class config extends common { $content = $this->getData(['page',$parentId,'content']); $replace = str_replace( $old , $new , $content,$count) ; $this->setData(['page',$parentId,'content', $replace ]); + if (strpos($old,'?') > 0) { + $replace = str_replace( str_replace('?','',$old) , $new , $content,$count) ; + } foreach($childIds as $childId) { $content = $this->getData(['page',$childId,'content']); $replace = str_replace( $old , $new, $content,$count) ; + if (strpos($old,'?') > 0) { + $replace = str_replace( str_replace('?','',$old) , $new , $content,$count) ; + } $this->setData(['page',$childId,'content', $replace ]); } }