fix: Accss to global $conf needed

This commit is contained in:
Abbes Bahfir 2018-11-24 23:50:19 +01:00
parent 099f47deba
commit 1a8882198e

View File

@ -315,7 +315,6 @@ class Fichinter extends CommonObject
*/
function update($user, $notrigger=0)
{
global $conf;
if (! is_numeric($this->duration)) {
$this->duration = 0;
}