Performance enhancements.

This commit is contained in:
andrey
2002-02-15 20:50:44 +00:00
parent 120b1df0ed
commit 60617aa799
7 changed files with 230 additions and 212 deletions

View File

@@ -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 ) {