Merge pull request #10086 from bafbes/abb80044

fix: Access to global $conf needed
This commit is contained in:
Laurent Destailleur 2018-11-29 10:57:21 +01:00 committed by GitHub
commit a460452101
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}