From 58d05ac0702bd15bc22cc8f90189a71b811eafc3 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 17 Mar 2008 16:42:14 +0000 Subject: [PATCH] undefined where starting to create an index --- tbl_indexes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tbl_indexes.php b/tbl_indexes.php index 403460c0f..48435d6fa 100644 --- a/tbl_indexes.php +++ b/tbl_indexes.php @@ -117,7 +117,7 @@ $GLOBALS['js_include'][] = 'indexes.js'; require_once './libraries/tbl_info.inc.php'; require_once './libraries/tbl_links.inc.php'; -if (is_array($_REQUEST['index'])) { +if (isset($_REQUEST['index']) && is_array($_REQUEST['index'])) { // coming already from form $add_fields = count($_REQUEST['index']['columns']['names']) - $index->getColumnCount();