From c1630ac5a97571c75cc5ae24bc23e1af35d72755 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 15 May 2008 12:19:32 +0000 Subject: [PATCH] undefined var --- tbl_addfield.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tbl_addfield.php b/tbl_addfield.php index e3e73fc93..8d0e998ee 100644 --- a/tbl_addfield.php +++ b/tbl_addfield.php @@ -141,7 +141,7 @@ if (isset($_REQUEST['do_save_data'])) { } // Builds the fulltext statements and updates the table - if (count($field_fulltext)) { + if (isset($field_fulltext) && count($field_fulltext)) { $fields = array(); foreach ($field_fulltext as $field_nr) { $fields[] = $_REQUEST['field_name'][$field_nr];