mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Arreglado el inscribir un nuevo usuario
This commit is contained in:
@ -50,9 +50,12 @@ class Integration extends BaseController
|
||||
if(!empty($user)){
|
||||
foreach (keywordEmail()??[] as $item){
|
||||
$field = str_replace(['[','user_',']'],'',$item);
|
||||
$body = str_replace('['.$item.']',$user[$field],$body);
|
||||
if(str_contains($body, $field)){
|
||||
$body = str_replace('['.$item.']',$user->{$field},$body);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if($this->sendMail($subject,unescape($body),$email)){
|
||||
return $json ? json_encode(["return" => true]) : true;
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user