mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正模板比较标签,value值为变量时的不能正确判断的问题
This commit is contained in:
@@ -319,7 +319,7 @@ class Cx extends Taglib
|
||||
$name = $this->autoBuildVar($name);
|
||||
$flag = substr($value, 0, 1);
|
||||
if ('$' == $flag || ':' == $flag) {
|
||||
$value = $this->autoBuildVar($value);
|
||||
$value = '(' . $this->autoBuildVar($value) . ')';
|
||||
} else {
|
||||
$value = '\'' . $value . '\'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user