Add admin link for errormsg "click here to finish mandatory setup"
This commit is contained in:
parent
5356703f84
commit
2699159dea
@ -677,7 +677,8 @@ if (empty($reshook)) {
|
|||||||
|
|
||||||
if (empty($labeltouse) || (int) $labeltouse === -1) {
|
if (empty($labeltouse) || (int) $labeltouse === -1) {
|
||||||
//fallback on the old configuration.
|
//fallback on the old configuration.
|
||||||
setEventMessages('WarningMandatorySetupNotComplete', null, 'errors');
|
$langs->load("errors");
|
||||||
|
setEventMessages('<a href="'.DOL_URL_ROOT.'/adherents/admin/member_emails.php">'.$langs->trans('WarningMandatorySetupNotComplete').'</a>', null, 'errors');
|
||||||
$error++;
|
$error++;
|
||||||
} else {
|
} else {
|
||||||
$substitutionarray = getCommonSubstitutionArray($outputlangs, 0, null, $object);
|
$substitutionarray = getCommonSubstitutionArray($outputlangs, 0, null, $object);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user