From 80e1f39e140c22d9eae0d1b6c1b434d763e76dd1 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 12 Aug 2010 18:04:02 +0000 Subject: [PATCH] fixed wrongly display blur text for value "0" --- etemplate/inc/class.etemplate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.etemplate.inc.php b/etemplate/inc/class.etemplate.inc.php index 9a433c7005..99fdeecccb 100644 --- a/etemplate/inc/class.etemplate.inc.php +++ b/etemplate/inc/class.etemplate.inc.php @@ -1133,7 +1133,7 @@ class etemplate extends boetemplate { if ($blur) { - if (empty($value)) + if ((string)$value === '') { $value = $blur; }