File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -331,12 +331,7 @@ public function getSecdns($row = null) {
331
331
* @return void
332
332
*/
333
333
public function setAuthorisationCode ($ authorisationCode ) {
334
- if ($ authorisationCode ) {
335
- $ this ->authorisationCode = htmlspecialchars ($ authorisationCode , ENT_COMPAT , "UTF-8 " );
336
- } else {
337
- $ this ->authorisationCode = $ authorisationCode ;
338
- }
339
-
334
+ $ this ->authorisationCode = $ authorisationCode ;
340
335
}
341
336
342
337
/**
@@ -353,7 +348,7 @@ public function getAuthorisationCode() {
353
348
* @return void
354
349
*/
355
350
public function setPassword ($ password ) {
356
- $ this ->authorisationCode = htmlspecialchars ($ password, ENT_COMPAT , " UTF-8 " );
351
+ $ this ->setAuthorisationCode ($ password );
357
352
}
358
353
359
354
/**
You can’t perform that action at this time.
0 commit comments