Fix: Pb creation adherent dans ldap
This commit is contained in:
parent
cecbc19e06
commit
0518210119
@ -56,7 +56,7 @@ if ($user->societe_id > 0)
|
||||
|
||||
llxHeader();
|
||||
|
||||
$form = new Form($db);
|
||||
$html = new Form($db);
|
||||
|
||||
|
||||
$adh = new Adherent($db);
|
||||
@ -86,11 +86,6 @@ $head = member_prepare_head($adh);
|
||||
|
||||
dolibarr_fiche_head($head, 'ldap', $langs->trans("Member"));
|
||||
|
||||
$result=$adh->load_previous_next_id($adh->next_prev_filter);
|
||||
if ($result < 0) dolibarr_print_error($db,$adh->error);
|
||||
$previous_id = $adh->id_previous?'<a href="'.$_SERVER["PHP_SELF"].'?id='.urlencode($adh->id_previous).'">'.img_previous().'</a>':'';
|
||||
$next_id = $adh->id_next?'<a href="'.$_SERVER["PHP_SELF"].'?id='.urlencode($adh->id_next).'">'.img_next().'</a>':'';
|
||||
|
||||
|
||||
/*
|
||||
* Fiche en mode visu
|
||||
@ -100,9 +95,7 @@ print '<table class="border" width="100%">';
|
||||
// Ref
|
||||
print '<tr><td width="20%">'.$langs->trans("Ref").'</td>';
|
||||
print '<td class="valeur">';
|
||||
if ($previous_id || $next_id) print '<table class="nobordernopadding" width="100%"><tr class="nobordernopadding"><td class="nobordernopadding">';
|
||||
print $adh->id;
|
||||
if ($previous_id || $next_id) print '</td><td class="nobordernopadding" align="center" width="20">'.$previous_id.'</td><td class="nobordernopadding" align="center" width="20">'.$next_id.'</td></tr></table>';
|
||||
print $html->showrefnav($adh,'id');
|
||||
print '</td></tr>';
|
||||
|
||||
// Nom
|
||||
|
||||
Loading…
Reference in New Issue
Block a user