summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/TTemplateManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/TTemplateManager.php b/framework/Web/UI/TTemplateManager.php
index 05c23fdc..968618bc 100644
--- a/framework/Web/UI/TTemplateManager.php
+++ b/framework/Web/UI/TTemplateManager.php
@@ -1083,7 +1083,7 @@ class TTemplate extends TApplicationComponent implements ITemplate
return false;
foreach($behaviors['_um'] as $name=>$list)
{
- if(!$class->isSubclassOf($name)) continue;
+ if(strtolower($class->getShortName())!==$name && !$class->isSubclassOf($name)) continue;
foreach($list as $param)
{
if(method_exists($param->getBehavior(),$method))