mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 07:02:47 +08:00
Merge branch 'master' of https://github.com/top-think/think
This commit is contained in:
@@ -319,7 +319,7 @@ class Cx extends Taglib
|
|||||||
$name = $this->autoBuildVar($name);
|
$name = $this->autoBuildVar($name);
|
||||||
$flag = substr($value, 0, 1);
|
$flag = substr($value, 0, 1);
|
||||||
if ('$' == $flag || ':' == $flag) {
|
if ('$' == $flag || ':' == $flag) {
|
||||||
$value = $this->autoBuildVar($value);
|
$value = '(' . $this->autoBuildVar($value) . ')';
|
||||||
} else {
|
} else {
|
||||||
$value = '\'' . $value . '\'';
|
$value = '\'' . $value . '\'';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user