summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/TComponent.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/TComponent.php b/framework/TComponent.php
index 5a3cd2f2..1ac25c7f 100644
--- a/framework/TComponent.php
+++ b/framework/TComponent.php
@@ -578,11 +578,11 @@ class TPropertyValue
{
if(is_string($value))
{
- $trimmed = trim($value);
+ $value = trim($value);
$len = strlen($value);
- if ($len >= 2 && $trimmed[0] == '(' && $trimmed[$len-1] == ')')
+ if ($len >= 2 && $value[0] == '(' && $value[$len-1] == ')')
{
- eval('$array=array'.$trimmed.';');
+ eval('$array=array'.$value.';');
return $array;
}
else