File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ private function getLEAccountData()
133133 {
134134 $ this ->id = isset ($ post ['body ' ]['id ' ]) ? $ post ['body ' ]['id ' ] : '' ;
135135 $ this ->key = $ post ['body ' ]['key ' ];
136- $ this ->contact = $ post ['body ' ]['contact ' ];
136+ $ this ->contact = isset ( $ post ['body ' ]['contact ' ]) ? $ post [ ' body ' ][ ' contact ' ] : '' ;
137137 $ this ->agreement = isset ($ post ['body ' ]['agreement ' ]) ? $ post ['body ' ]['agreement ' ] : '' ;
138138 $ this ->initialIp = isset ($ post ['body ' ]['initialIp ' ]) ? $ post ['body ' ]['initialIp ' ] : '' ;
139139 $ this ->createdAt = $ post ['body ' ]['createdAt ' ];
@@ -162,7 +162,7 @@ public function updateAccount($email)
162162 {
163163 $ this ->id = isset ($ post ['body ' ]['id ' ]) ? $ post ['body ' ]['id ' ] : '' ;
164164 $ this ->key = $ post ['body ' ]['key ' ];
165- $ this ->contact = $ post ['body ' ]['contact ' ];
165+ $ this ->contact = isset ( $ post ['body ' ]['contact ' ]) ? $ post [ ' body ' ][ ' contact ' ] : '' ;
166166 $ this ->agreement = isset ($ post ['body ' ]['agreement ' ]) ? $ post ['body ' ]['agreement ' ] : '' ;
167167 $ this ->initialIp = isset ($ post ['body ' ]['initialIp ' ]) ? $ post ['body ' ]['initialIp ' ] : '' ;
168168 $ this ->createdAt = $ post ['body ' ]['createdAt ' ];
You can’t perform that action at this time.
0 commit comments