summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorJens Klaer <kj.landwehr.software@gmail.com>2015-08-18 12:22:57 +0200
committerJens Klaer <kj.landwehr.software@gmail.com>2015-08-18 12:22:57 +0200
commit72d9fc3857380744ab4996fd988532959a39e73d (patch)
tree69277368edc53476fd8fa5a25e8e7044409afcfe /framework
parent9a01a40029c644be2dfe0d225c1e8fb1265805b4 (diff)
fix behavior methods on templates
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))