Approved Email has a bug in replacing names etc
-
The line in
member-approval/includes/notifications.php
is:
$opts[‘new-user-email’][‘body’] = str_replace(array(‘%%firstname%%’, ‘%%lastname%%’, ‘%%fullname%%’), array($user->first_name, $user->last_name, $user->first_name.’ ‘.$user->last_name), $opts[‘new-user-email’][‘body’]);
should be:
$opts[‘approval-email’][‘body’] = str_replace(array(‘%%firstname%%’, ‘%%lastname%%’, ‘%%fullname%%’), array($user->first_name, $user->last_name, $user->first_name.’ ‘.$user->last_name), $opts[‘new-user-email’][‘body’]);
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Approved Email has a bug in replacing names etc’ is closed to new replies.