Skip to content

Commit

Permalink
Undefined index central_columnswork
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Delisle <marc@infomarc.info>
  • Loading branch information
lem9 committed Dec 9, 2014
1 parent e9b9526 commit 7deba11
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libraries/Menu.class.php
Expand Up @@ -489,7 +489,10 @@ private function _getDbTabs()
$tabs['designer']['id'] = 'designer_tab';
}

if (! $db_is_system_schema && $cfgRelation['central_columnswork']) {
if (! $db_is_system_schema
&& isset($cfgRelation['central_columnswork'])
&& $cfgRelation['central_columnswork']
) {
$tabs['central_columns']['text'] = __('Central columns');
$tabs['central_columns']['icon'] = 'centralColumns.png';
$tabs['central_columns']['link'] = 'db_central_columns.php';
Expand Down

0 comments on commit 7deba11

Please sign in to comment.