diff options
Diffstat (limited to 'phpBB/phpbb/db/tools.php')
| -rw-r--r-- | phpBB/phpbb/db/tools.php | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/phpBB/phpbb/db/tools.php b/phpBB/phpbb/db/tools.php index ee0d247071..775deccc30 100644 --- a/phpBB/phpbb/db/tools.php +++ b/phpBB/phpbb/db/tools.php @@ -1575,7 +1575,7 @@ class tools  				else  				{  					// Integers need to have 0 instead of empty string as default -					if (preg_match('/int/i', $column_type)) +					if (strpos($column_type, 'INT') === 0)  					{  						$default_val = '0';  					} | 
