trying to pass travis check

This commit is contained in:
Joaquín 2019-05-04 12:08:28 +02:00
parent ccefffc042
commit 9c69c8acc7

View File

@ -1060,17 +1060,16 @@ else
// Other attributes
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_add.tpl.php';
//Hooks here
$reshook=$hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
//print $hookmanager->resPrint; //it double prints?
if (empty($reshook))
{
$reshook=$hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
//print $hookmanager->resPrint; //it double prints?
if (empty($reshook))
{
print $object->showOptionals($extrafields, 'edit');
}
print '<tbody>';
}
print '<tbody>';
print "</table>\n";
dol_fiche_end();
dol_fiche_end();
print '<div class="center">';
print '<input type="submit" name="button" class="button" value="'.$langs->trans("AddMember").'">';
@ -1365,12 +1364,12 @@ else
// Other attributes
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_add.tpl.php';
//Hooks here
$reshook=$hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
//print $hookmanager->resPrint; //it double prints?
if (empty($reshook))
{
$reshook=$hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
//print $hookmanager->resPrint; //it double prints?
if (empty($reshook))
{
print $object->showOptionals($extrafields, 'edit');
}
}
print '</table>';
dol_fiche_end();