Fix: gestion des droits invalide
This commit is contained in:
parent
08abc1cc4f
commit
baa0200947
@ -29,6 +29,9 @@
|
|||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|
||||||
|
if (!$user->admin && !$user->rights->banque->lire)
|
||||||
|
accessforbidden();
|
||||||
|
|
||||||
$year_start=isset($_GET["year_start"])?$_GET["year_start"]:$_POST["year_start"];
|
$year_start=isset($_GET["year_start"])?$_GET["year_start"]:$_POST["year_start"];
|
||||||
$year_current = strftime("%Y",time());
|
$year_current = strftime("%Y",time());
|
||||||
if (! $year_start) {
|
if (! $year_start) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user