fix: Accss to global $conf needed
This commit is contained in:
parent
099f47deba
commit
1a8882198e
@ -315,7 +315,6 @@ class Fichinter extends CommonObject
|
||||
*/
|
||||
function update($user, $notrigger=0)
|
||||
{
|
||||
global $conf;
|
||||
if (! is_numeric($this->duration)) {
|
||||
$this->duration = 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user