diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-06-25 18:39:10 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-06-25 18:39:10 +0200 |
commit | 4917ebe93a7490d814848f2ce6a5c80343599dcf (patch) | |
tree | 6357931fbcd9c69ac530353144e9ef4707b89e9f /phpBB/phpbb | |
parent | b2044884ffab5e32fa1870ec68fe956a7cb05e1e (diff) | |
download | forums-4917ebe93a7490d814848f2ce6a5c80343599dcf.tar forums-4917ebe93a7490d814848f2ce6a5c80343599dcf.tar.gz forums-4917ebe93a7490d814848f2ce6a5c80343599dcf.tar.bz2 forums-4917ebe93a7490d814848f2ce6a5c80343599dcf.tar.xz forums-4917ebe93a7490d814848f2ce6a5c80343599dcf.zip |
[ticket/12448] Fix null columns for MS SQL
PHPBB3-12448
Diffstat (limited to 'phpBB/phpbb')
-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 54075b464c..bafd547917 100644 --- a/phpBB/phpbb/db/tools.php +++ b/phpBB/phpbb/db/tools.php @@ -1487,7 +1487,7 @@ class tools $return_array['textimage'] = $column_type === '[text]'; - if (!is_null($column_data[1])) + if (!is_null($column_data[1]) || (isset($column_data[2]) && $column_data[2] == 'auto_increment')) { $sql .= 'NOT NULL'; $sql_default .= 'NOT NULL'; |