diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2014-08-09 14:29:59 +0200 | 
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2014-08-09 14:42:31 +0200 | 
| commit | 0806c74084086d778c54ea6e87ab582deb9ecf43 (patch) | |
| tree | f96770ecc3d16798451e02f49f843c0f637e6842 /phpBB/phpbb | |
| parent | ef9360d28532cf04b99a7c352b8897b79587ba37 (diff) | |
| download | forums-0806c74084086d778c54ea6e87ab582deb9ecf43.tar forums-0806c74084086d778c54ea6e87ab582deb9ecf43.tar.gz forums-0806c74084086d778c54ea6e87ab582deb9ecf43.tar.bz2 forums-0806c74084086d778c54ea6e87ab582deb9ecf43.tar.xz forums-0806c74084086d778c54ea6e87ab582deb9ecf43.zip  | |
[ticket/12710] Prefix column so it does not start with a number
PHPBB3-12710
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 72bc7d72f1..fccc731026 100644 --- a/phpBB/phpbb/db/tools.php +++ b/phpBB/phpbb/db/tools.php @@ -2378,7 +2378,7 @@ class tools  					}  				} -				$temp_column_name = substr(md5($column_name), 0, 30); +				$temp_column_name = 'temp_' . substr(md5($column_name), 0, 25);  				// Add a temporary table with the new type  				$result = $this->sql_column_add($table_name, $temp_column_name, $original_column_data);  				$statements = array_merge($statements, $result);  | 
