From 81a31e8390e0a835d7856c2ae1c1dc67817aea60 Mon Sep 17 00:00:00 2001 From: Sergio Sanchis Date: Tue, 18 Oct 2016 10:52:07 +0200 Subject: [PATCH] Fix: Need declare $user for call trigger --- htdocs/expedition/class/expedition.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/expedition/class/expedition.class.php b/htdocs/expedition/class/expedition.class.php index 00063729a20..a8602f0f7ee 100644 --- a/htdocs/expedition/class/expedition.class.php +++ b/htdocs/expedition/class/expedition.class.php @@ -1965,6 +1965,7 @@ class Expedition extends CommonObject */ function set_billed() { + global $user; $error=0; $this->db->begin();