* Fix for a "non-functional" change - sorry for this, it appears like TYPO3 expects...
authorMichael Stucki <michael.stucki@typo3.org>
Wed, 27 Feb 2008 07:45:17 +0000 (07:45 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Wed, 27 Feb 2008 07:45:17 +0000 (07:45 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3306 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_install.php

index c0c69d5..6b3e480 100755 (executable)
@@ -635,7 +635,7 @@ class t3lib_install {
                if (!strstr($row['Type'],'blob') && !strstr($row['Type'],'text')) {
                                // Add a default value if the field is not auto-incremented (these fields never have a default definition)
                        if (!stristr($row['Extra'],'auto_increment')) {
-                               $field[] = 'DEFAULT \''.addslashes($row['Default']).'\'';
+                               $field[] = 'default '."'".(addslashes($row['Default']))."'";
                        }
                }
                if ($row['Extra']) {