* Modify branch check error.
This commit is contained in:
@@ -77,7 +77,12 @@ class baseHelper
|
||||
|
||||
/* 处理$viewType和$vars。Set $viewType and $vars. */
|
||||
if(empty($viewType)) $viewType = $app->getViewType();
|
||||
if(!is_array($vars)) parse_str($vars, $vars);
|
||||
if(!is_array($vars))
|
||||
{
|
||||
/* Prevent + from converting to spaces. */
|
||||
$vars = str_replace('+', '%2B', $vars);
|
||||
parse_str($vars, $vars);
|
||||
}
|
||||
|
||||
/* 生成url链接的开始部分。Set the begin parts of the link. */
|
||||
if($config->requestType == 'PATH_INFO') $link = $config->webRoot . $appName;
|
||||
|
||||
Reference in New Issue
Block a user