diff --git a/tbl_addfield.php b/tbl_addfield.php index 68a0436ce..e3e73fc93 100644 --- a/tbl_addfield.php +++ b/tbl_addfield.php @@ -88,7 +88,9 @@ if (isset($_REQUEST['do_save_data'])) { : 'NOT NULL', $_REQUEST['field_default_type'][$i], $_REQUEST['field_default_value'][$i], - $_REQUEST['field_extra'][$i], + isset($_REQUEST['field_extra'][$i]) + ? $_REQUEST['field_extra'][$i] + : false, isset($_REQUEST['field_comments'][$i]) ? $_REQUEST['field_comments'][$i] : '', diff --git a/tbl_alter.php b/tbl_alter.php index 0b5b5baed..e5d78d96b 100644 --- a/tbl_alter.php +++ b/tbl_alter.php @@ -60,7 +60,9 @@ if (isset($_REQUEST['do_save_data'])) { : 'NOT NULL', $_REQUEST['field_default_type'][$i], $_REQUEST['field_default_value'][$i], - $_REQUEST['field_extra'][$i], + isset($_REQUEST['field_extra'][$i]) + ? $_REQUEST['field_extra'][$i] + : false, isset($_REQUEST['field_comments'][$i]) ? $_REQUEST['field_comments'][$i] : '', diff --git a/tbl_create.php b/tbl_create.php index b385952e9..a35a1196e 100644 --- a/tbl_create.php +++ b/tbl_create.php @@ -120,7 +120,9 @@ if (isset($_REQUEST['do_save_data'])) { : 'NOT NULL', $_REQUEST['field_default_type'][$i], $_REQUEST['field_default_value'][$i], - $_REQUEST['field_extra'][$i], + isset($_REQUEST['field_extra'][$i]) + ? $_REQUEST['field_extra'][$i] + : false, isset($_REQUEST['field_comments'][$i]) ? $_REQUEST['field_comments'][$i] : '',