summaryrefslogtreecommitdiff
path: root/smarty/libs
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2013-04-19 17:02:55 -0400
committerspiderr <spider@viovio.com>2013-04-19 17:02:55 -0400
commite26968e217948ba948c6223b2fda257595094323 (patch)
treeb32aa6a4c929084eb7e28c47e60acdaefafbc32c /smarty/libs
parentc3ce7e212b71a68a4ffb3da22b4894706d292df9 (diff)
downloadthemes-e26968e217948ba948c6223b2fda257595094323.tar.gz
themes-e26968e217948ba948c6223b2fda257595094323.tar.bz2
themes-e26968e217948ba948c6223b2fda257595094323.zip
smarty 3 fixes for module_params
Diffstat (limited to 'smarty/libs')
-rw-r--r--smarty/libs/Smarty.class.php2
-rw-r--r--smarty/libs/sysplugins/smarty_internal_compile_include_php.php2
2 files changed, 3 insertions, 1 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);
}
}
diff --git a/smarty/libs/sysplugins/smarty_internal_compile_include_php.php b/smarty/libs/sysplugins/smarty_internal_compile_include_php.php
index d527123..4551179 100644
--- a/smarty/libs/sysplugins/smarty_internal_compile_include_php.php
+++ b/smarty/libs/sysplugins/smarty_internal_compile_include_php.php
@@ -105,4 +105,4 @@ class Smarty_Internal_Compile_Include_Php extends Smarty_Internal_CompileBase {
}
-?> \ No newline at end of file
+?>