Skip to content

Commit c505a8e

Browse files
committed
- MySQL table generator: default value of text fields must be NULL, not 'NULL'.
1 parent 0baacef commit c505a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/tform_tpl_generator.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ function buildHTML($formDef, $tab) {
268268
case 'TEXT':
269269
$type = 'text';
270270
$typevalue = '';
271-
$defaultValue = 'NULL';
271+
$defaultValue = NULL;
272272
break;
273273
case 'DATE':
274274
$type = 'date';

0 commit comments

Comments
 (0)