mirror of
https://github.com/e107inc/e107.git
synced 2025-07-21 23:11:14 +02:00
Fixes #3710 toDB() fix.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user