Update fichinter.class.php

This commit is contained in:
Frédéric FRANCE 2018-08-17 15:56:23 +02:00 committed by GitHub
parent ab22c9d0de
commit c8ad215840
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;
}