From a20d06228f22d4492f0d7629f4ef60d1b54f7ddc Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Wed, 7 May 2008 12:41:26 +0000 Subject: [PATCH] fixed NOTICE --- tbl_addfield.php | 4 +++- tbl_alter.php | 4 +++- tbl_create.php | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) 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] : '',