summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TTemplateManager.php
diff options
context:
space:
mode:
authorxue <>2006-12-01 19:51:21 +0000
committerxue <>2006-12-01 19:51:21 +0000
commit596742bd19d7d9acfcb02348f5097cefb8ed957e (patch)
treecc44d35e6d4b2e134997dd3180bdb3ad581ab5c4 /framework/Web/UI/TTemplateManager.php
parent35064612126ad2a0825f0a7d70a0edf3b5244ceb (diff)
fixed #468.
Diffstat (limited to 'framework/Web/UI/TTemplateManager.php')
-rw-r--r--framework/Web/UI/TTemplateManager.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/Web/UI/TTemplateManager.php b/framework/Web/UI/TTemplateManager.php
index 43d3f03c..cfe4f4d4 100644
--- a/framework/Web/UI/TTemplateManager.php
+++ b/framework/Web/UI/TTemplateManager.php
@@ -457,6 +457,7 @@ class TTemplate extends TApplicationComponent implements ITemplate
$component->$setter(Prado::localize($value[1]));
break;
default: // an error if reaching here
+ throw new TConfigurationException('template_tag_unexpected',$name,$value[1]);
break;
}
}
@@ -502,6 +503,7 @@ class TTemplate extends TApplicationComponent implements ITemplate
$component->setSubProperty($name,Prado::localize($value[1]));
break;
default: // an error if reaching here
+ throw new TConfigurationException('template_tag_unexpected',$name,$value[1]);
break;
}
}