summaryrefslogtreecommitdiff
path: root/smarty/libs/Smarty.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'smarty/libs/Smarty.class.php')
-rw-r--r--smarty/libs/Smarty.class.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/smarty/libs/Smarty.class.php b/smarty/libs/Smarty.class.php
index 40532fc..dde8d5b 100644
--- a/smarty/libs/Smarty.class.php
+++ b/smarty/libs/Smarty.class.php
@@ -668,6 +668,7 @@ class Smarty extends Smarty_Internal_TemplateBase {
if (isset($allowed[$name])) {
return $this->{$allowed[$name]}();
} else {
+bt();
trigger_error('Undefined property: '. get_class($this) .'::$'. $name, E_USER_NOTICE);
}
}
@@ -694,6 +695,7 @@ class Smarty extends Smarty_Internal_TemplateBase {
if (isset($allowed[$name])) {
$this->{$allowed[$name]}($value);
} else {
+bt();
trigger_error('Undefined property: ' . get_class($this) . '::$' . $name, E_USER_NOTICE);
}
}