Gestion du paramètre year

This commit is contained in:
Rodolphe Quiedeville 2005-12-06 10:41:40 +00:00
parent 0e386e6722
commit bae6e7f4f5

View File

@ -38,12 +38,9 @@ if ($user->societe_id > 0)
$socidp = $user->societe_id; $socidp = $user->societe_id;
} }
$year = strftime("%Y", time()); $year = defined($_GET["year"])?$_GET["year"]:strftime("%Y", time());
$year = $_GET["year"];
$h = 0; $h = 0;
$head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/factures/index.php'; $head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/factures/index.php';
$head[$h][1] = "Global"; $head[$h][1] = "Global";
$h++; $h++;