aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/extender.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/engine/lib/extender.php b/engine/lib/extender.php
index c7fe9ed48..daa763fa0 100644
--- a/engine/lib/extender.php
+++ b/engine/lib/extender.php
@@ -68,8 +68,9 @@
*/
protected function set($name, $value, $value_type = "") {
- $this->attributes[$name] = $value;
- $this->attributes['value_type'] = detect_extender_valuetype($value, $value_type);
+ $this->attributes[$name] = $value;
+ if ($name == 'value')
+ $this->attributes['value_type'] = detect_extender_valuetype($value, $value_type);
return true;
}