Merge pull request #10134 from frederic34/patch-18

devcamp 2018 fix #9642
This commit is contained in:
Laurent Destailleur 2018-12-01 16:21:30 +01:00 committed by GitHub
commit 508cb459eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@
* Copyright (C) 2005-2009 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2015-2017 Alexandre Spangaro <aspangaro@zendsi.com>
* Copyright (C) 2017 Ferran Marcet <fmarcet@2byte.es>
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -288,7 +289,7 @@ if (empty($reshook))
if (! $error)
{
// Actions on extra fields
$result = $object->insertExtraFields('FICHINTER_MODIFY');
$result = $object->insertExtraFields('EXPENSEREPORT_MODIFY');
if ($result < 0)
{
setEventMessages($object->error, $object->errors, 'errors');