Skip to content

Commit

Permalink
trying to pass travis check
Browse files Browse the repository at this point in the history
  • Loading branch information
gentooza committed May 4, 2019
1 parent ccefffc commit 9c69c8a
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions htdocs/adherents/card.php
Expand Up @@ -1060,17 +1060,16 @@ function initfieldrequired()
// 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").'">';
Expand Down Expand Up @@ -1365,12 +1364,12 @@ function initfieldrequired()
// 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();
Expand Down

0 comments on commit 9c69c8a

Please sign in to comment.