mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix: visualisation de l'aperu
This commit is contained in:
parent
3d91db23dc
commit
6c16d07a30
|
|
@ -205,7 +205,7 @@ if ($_GET["id"] > 0) {
|
|||
dolibarr_print_error($db);
|
||||
}
|
||||
} else {
|
||||
// Commande non trouvée
|
||||
// Intervention non trouvée
|
||||
print $langs->trans("ErrorFichinterNotFound",$_GET["id"]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -105,6 +105,17 @@ if ($modulepart)
|
|||
}
|
||||
$original_file=$conf->commande->dir_output.'/'.$original_file;
|
||||
}
|
||||
|
||||
// Wrapping pour les apercu intervention
|
||||
if ($modulepart == 'apercufichinter')
|
||||
{
|
||||
$user->getrights('ficheinter');
|
||||
if ($user->rights->ficheinter->lire)
|
||||
{
|
||||
$accessallowed=1;
|
||||
}
|
||||
$original_file=$conf->fichinter->dir_output.'/'.$original_file;
|
||||
}
|
||||
|
||||
// Wrapping pour les images des stats propales
|
||||
if ($modulepart == 'propalstats')
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user