File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
adm_program/system/classes Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,9 @@ public function delete()
111
111
{
112
112
global $ gMessage , $ gL10n , $ gPreferences ;
113
113
114
- $ userEmail = $ this ->getValue ('EMAIL ' );
114
+ $ userEmail = $ this ->getValue ('EMAIL ' );
115
+ $ userFirstName = $ this ->getValue ('FIRST_NAME ' );
116
+ $ userLastName = $ this ->getValue ('LAST_NAME ' );
115
117
116
118
$ this ->db ->startTransaction ();
117
119
@@ -140,7 +142,7 @@ public function delete()
140
142
{
141
143
// send mail to user that his registration was accepted
142
144
$ sysmail = new SystemMail ($ this ->db );
143
- $ sysmail ->addRecipient ($ this -> getValue ( ' EMAIL ' ) , $ this -> getValue ( ' FIRST_NAME ' ) . ' ' . $ this -> getValue ( ' LAST_NAME ' ) );
145
+ $ sysmail ->addRecipient ($ userEmail , $ userFirstName . ' ' . $ userLastName );
144
146
$ sysmail ->sendSystemMail ('SYSMAIL_REFUSE_REGISTRATION ' , $ this ); // TODO Exception handling
145
147
}
146
148
You can’t perform that action at this time.
0 commit comments