Skip to content

Commit

Permalink
FIX #18341 lang not loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 4, 2021
1 parent 965bdbb commit 0a31f3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/admin/agenda_reminder.php
Expand Up @@ -226,6 +226,7 @@
// Get the max frequency of reminder
if ($job->id > 0) {
if ($job->status != $job::STATUS_ENABLED) {
$langs->load("cron");
print '<span class="opacitymedium warning">'.$langs->trans("JobXMustBeEnabled", $langs->transnoentitiesnoconv("sendEmailsReminder")).'</span>';
} else {
print '<a href="'.$_SERVER['PHP_SELF'].'?action=del_AGENDA_REMINDER_EMAIL&amp;token='.newToken().'">'.img_picto($langs->trans('Enabled'), 'switch_on').'</a>';
Expand Down

1 comment on commit 0a31f3d

@manu-p
Copy link

@manu-p manu-p commented on 0a31f3d Aug 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merci.

Please sign in to comment.