Skip to content
Snippets Groups Projects
Commit 428ff97e authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Button to force LDAP synchro was not visible.

parent 98723da4
No related branches found
No related tags found
No related merge requests found
......@@ -167,14 +167,14 @@ if ($message) { print $message; }
print '<div class="tabsAction">';
if ($conf->global->LDAP_MEMBER_ACTIVE == 'dolibarr2ldap')
if (! empty($conf->global->LDAP_MEMBER_ACTIVE) && $conf->global->LDAP_MEMBER_ACTIVE != 'ldap2dolibarr')
{
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?id='.$adh->id.'&amp;action=dolibarr2ldap">'.$langs->trans("ForceSynchronize").'</a>';
}
print "</div>\n";
if ($conf->global->LDAP_MEMBER_ACTIVE == 'dolibarr2ldap') print "<br>\n";
if (! empty($conf->global->LDAP_MEMBER_ACTIVE) && $conf->global->LDAP_MEMBER_ACTIVE != 'ldap2dolibarr') print "<br>\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment