1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

Formattazione del codice

This commit is contained in:
Thomas Zilio
2018-06-26 14:30:26 +02:00
parent 4a1244c9a1
commit 84ddf4de32
78 changed files with 504 additions and 589 deletions

View File

@@ -62,6 +62,6 @@ $custom = [
// - cliente se è impostato l'idanagrafica di un Cliente
// - utente qualsiasi con permessi almeno in lettura sul modulo
// - admin
if ( ( $_SESSION['gruppo'] == 'Clienti' && $id_cliente != Auth::user()['idanagrafica'] && !Auth::admin()) || Modules::getPermission($module_name)=='-') {
if (($_SESSION['gruppo'] == 'Clienti' && $id_cliente != Auth::user()['idanagrafica'] && !Auth::admin()) || Modules::getPermission($module_name) == '-') {
die(tr('Non hai i permessi per questa stampa!'));
}