Skip to content

Commit

Permalink
Update card.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zephyriony committed Jun 3, 2024
1 parent 492a3cb commit 63c8224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/user/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -1959,7 +1959,7 @@
}
print '</td></tr>';
}
if ((dolibarr_get_const($db, "MAIN_ENABLE_LOGINS_PRIVACY", $conf->entity) == 0) || (dolibarr_get_const($db, "MAIN_ENABLE_LOGINS_PRIVACY", $conf->entity) == 1 && $object->id == $user->id)) {
if ((getDolglobalconst('MAIN_ENABLE_LOGINS_PRIVACY') == 0) || (getDolglobalconst('MAIN_ENABLE_LOGINS_PRIVACY') == 1 && $object->id == $user->id)) {
print '<tr class="nooddeven"><td>'.$langs->trans("LastConnexion").'</td>';
print '<td>';
if ($object->datepreviouslogin) {
Expand Down

0 comments on commit 63c8224

Please sign in to comment.