mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-23 13:59:29 +00:00
Fix issue
This commit is contained in:
parent
c152593c88
commit
b3d1f84e12
@ -228,10 +228,10 @@ class SettingsComponents {
|
||||
$obj = new SecuritySettings();
|
||||
|
||||
$obj->set_id($entry['ID']);
|
||||
$obj->set_security_question_1($entry["question1"]);
|
||||
$obj->set_security_answer_1($entry["reponse1"]);
|
||||
$obj->set_security_question_2($entry["question2"]);
|
||||
$obj->set_security_answer_2($entry["reponse2"]);
|
||||
if($entry["question1"] != null) $obj->set_security_question_1($entry["question1"]);
|
||||
if($entry["reponse1"] != null) $obj->set_security_answer_1($entry["reponse1"]);
|
||||
if($entry["question2"] != null) $obj->set_security_question_2($entry["question2"]);
|
||||
if($entry["reponse2"] != null) $obj->set_security_answer_2($entry["reponse2"]);
|
||||
|
||||
return $obj;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user