summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/TTemplateControl.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/Web/UI/TTemplateControl.php b/framework/Web/UI/TTemplateControl.php
index ef90f0a3..2f63ae5e 100644
--- a/framework/Web/UI/TTemplateControl.php
+++ b/framework/Web/UI/TTemplateControl.php
@@ -204,6 +204,8 @@ class TTemplateControl extends TControl implements INamingContainer
$loc=$controls->remove($placeholder);
$controls->insertAt($loc,$content);
}
+ else
+ throw new TConfigurationException('templatecontrol_placeholder_inexistent',$id);
}
/**