Skip to content

Commit

Permalink
Merge pull request #3022 from marcosgdf/bug-2976
Browse files Browse the repository at this point in the history
FIX Close bug #2976: "Report" tab is the current tab but it is not marked as selected by the UI
  • Loading branch information
eldy committed Jun 14, 2015
2 parents fd42b17 + 87a00d6 commit a9bf38b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -17,6 +17,7 @@ Fix: [ bug #2577 ] Incorrect invoice status in "Linked objects" page of a projec
Fix: [ bug #2576 ] Unable to edit a dictionary entry that has # in its ref
Fix: [ bug #2758 ] Product::update sets product note to "null" when $prod->note is null
Fix: [ bug #2757 ] Deleting product category photo gives "Forbidden access" error
Fix: [ bug #2976 ] "Report" tab is the current tab but it is not marked as selected by the UI

***** ChangeLog for 3.5.6 compared to 3.5.5 *****
Fix: Avoid missing class error for fetch_thirdparty method #1973
Expand Down
4 changes: 2 additions & 2 deletions htdocs/core/lib/report.lib.php
Expand Up @@ -39,7 +39,7 @@
*/
function report_header($nom,$variante,$period,$periodlink,$description,$builddate,$exportlink='',$moreparam=array(),$calcmode='')
{
global $langs, $hselected;
global $langs;

print "\n\n<!-- debut cartouche rapport -->\n";

Expand All @@ -48,7 +48,7 @@ function report_header($nom,$variante,$period,$periodlink,$description,$builddat
$head[$h][1] = $langs->trans("Report");
$head[$h][2] = 'report';

dol_fiche_head($head, $hselected);
dol_fiche_head($head, 'report');

print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">';
foreach($moreparam as $key => $value)
Expand Down

0 comments on commit a9bf38b

Please sign in to comment.