[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5614 - phpcompta/trunk/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5614 - phpcompta/trunk/include |
Date: |
Sat, 21 Dec 2013 03:28:00 +0100 (CET) |
Author: danydb
Date: 2013-12-21 03:28:00 +0100 (Sat, 21 Dec 2013)
New Revision: 5614
Modified:
phpcompta/trunk/include/class_acc_ledger.php
Log:
task #952 Transforme une action en facture
Ajout s?\195?\169curit?\195?\169 : v?\195?\169rifie que l'action est accessible
?\195?\160 l'utilisateur
Task #952 - Transform une action en facture
Modified: phpcompta/trunk/include/class_acc_ledger.php
===================================================================
--- phpcompta/trunk/include/class_acc_ledger.php 2013-12-21 02:23:44 UTC
(rev 5613)
+++ phpcompta/trunk/include/class_acc_ledger.php 2013-12-21 02:28:00 UTC
(rev 5614)
@@ -3679,8 +3679,9 @@
}
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
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r5614 - phpcompta/trunk/include,
phpcompta-dev <=