mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Coding style
This commit is contained in:
parent
1b10032556
commit
46103e62d2
1 changed files with 2 additions and 1 deletions
|
|
@ -436,8 +436,9 @@ class OC_Helper {
|
|||
//FIXME: should also check for value validation (i.e. the email is an email).
|
||||
public static function init_var($s, $d="") {
|
||||
$r = $d;
|
||||
if(isset($_REQUEST[$s]) && !empty($_REQUEST[$s]))
|
||||
if(isset($_REQUEST[$s]) && !empty($_REQUEST[$s])) {
|
||||
$r = OC_Util::sanitizeHTML($_REQUEST[$s]);
|
||||
}
|
||||
|
||||
return $r;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue