undefined where starting to create an index

This commit is contained in:
Marc Delisle
2008-03-17 16:42:14 +00:00
parent 03e49d15eb
commit 58d05ac070

View File

@@ -117,7 +117,7 @@ $GLOBALS['js_include'][] = 'indexes.js';
require_once './libraries/tbl_info.inc.php'; require_once './libraries/tbl_info.inc.php';
require_once './libraries/tbl_links.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 // coming already from form
$add_fields = $add_fields =
count($_REQUEST['index']['columns']['names']) - $index->getColumnCount(); count($_REQUEST['index']['columns']['names']) - $index->getColumnCount();