From 411c7c40d4f16d77d127df401a1507b67a0c558c Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 2 Mar 2019 10:51:05 -0800 Subject: [PATCH] Fixes #3710 toDB() fix. --- e107_handlers/e_parse_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index eb1d335a1..0800b4a58 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -516,7 +516,7 @@ class e_parse extends e_parser $data = stripslashes($data); } - if(intval($data) === $data) // simple integer. + if(intval($data) === $data || $data === '0') // simple integer. { return $data; }