task #952 Transforme une action en facture
Ajout sécurité : vérifie que l'action est accessible à l'utilisateur Task #952 - Transform une action en facture
This commit is contained in:
parent
b7c10f649c
commit
f6268eee46
1 changed files with 2 additions and 1 deletions
|
|
@ -3679,8 +3679,9 @@ class Acc_Ledger extends jrn_def_sql
|
|||
}
|
||||
function convert_from_follow($p_ag_id)
|
||||
{
|
||||
global $g_user;
|
||||
if (isNumber($p_ag_id)==0) return null;
|
||||
|
||||
if (! $g_user->can_read_action($p_ag_id)) die ('Action non accessible');
|
||||
$array=array();
|
||||
|
||||
// retrieve info from action_gestion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue