mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-03 05:41:37 +01:00
Performance enhancements.
This commit is contained in:
@@ -18,7 +18,7 @@ function smarty_modifier_debug_print_var($var, $depth = 0, $length = 40)
|
||||
}
|
||||
return $results;
|
||||
} else {
|
||||
if (empty($var)) {
|
||||
if (empty($var) && $var != "0") {
|
||||
return '<i>empty</i>';
|
||||
}
|
||||
if (strlen($var) > $length ) {
|
||||
|
||||
Reference in New Issue
Block a user