Fix tab active to real tab active

This commit is contained in:
Juanjo Menent 2014-08-26 19:55:35 +02:00
parent 9dafdf41bb
commit a31fec1b0b

View File

@ -197,12 +197,7 @@ if ($resql)
$newtitle=$langs->trans($title);
$tabactive='';
if ($action == 'show_month') $tabactive='cardmonth';
if ($action == 'show_week') $tabactive='cardweek';
if ($action == 'show_day') $tabactive='cardday';
if ($action == 'show_list') $tabactive='cardlist';
if ($action == 'show_peruser') $tabactive='cardperuser';
$tabactive='cardlist';
$head = calendars_prepare_head($param);