Merge pull request #5888 from olsesacl/trigger_expedition
Fix: Need declare $user for call trigger
This commit is contained in:
commit
8340316141
@ -1965,6 +1965,7 @@ class Expedition extends CommonObject
|
|||||||
*/
|
*/
|
||||||
function set_billed()
|
function set_billed()
|
||||||
{
|
{
|
||||||
|
global $user;
|
||||||
$error=0;
|
$error=0;
|
||||||
|
|
||||||
$this->db->begin();
|
$this->db->begin();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user