Merge pull request #9263 from frederic34/patch-20

Update fichinter.class.php
This commit is contained in:
Laurent Destailleur 2018-08-21 12:53:10 +02:00 committed by GitHub
commit f5e82365c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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