summaryrefslogtreecommitdiff
path: root/framework/TApplication.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/TApplication.php')
-rw-r--r--framework/TApplication.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/TApplication.php b/framework/TApplication.php
index 0cce1a1a..56126fbb 100644
--- a/framework/TApplication.php
+++ b/framework/TApplication.php
@@ -478,7 +478,7 @@ class TApplication extends TComponent
*/
public function setMode($value)
{
- $this->_mode=TPropertyValue::ensureEnumerable($value,'TApplicationMode');
+ $this->_mode=TPropertyValue::ensureEnum($value,'TApplicationMode');
}
/**