fixed tab main data. Ticket #3641.

This commit is contained in:
Daniel Maya 2016-06-07 09:00:57 +02:00
parent b6164485b6
commit a15955a9e0
1 changed files with 4 additions and 2 deletions

View File

@ -1846,8 +1846,10 @@ if ($idReport != 0) {
else {
$temp = $buttons['main'];
$buttons = null;
$buttons['main'] = $temp;
$buttons['main']['active'] = true;
$buttons = array(
'main' => array('active' => true,
'text' => '<a href="index.php?sec=reporting&sec2=godmode/reporting/reporting_builder&tab=main&action=new&pure=' .$pure.'">' .
html_print_image("images/op_reporting.png", true, array ("title" => __('Main data'))) .'</a>'));
$textReportName = '';
}