Coding style

remotes/origin/stable5
Lukas Reschke 13 years ago
parent 1b10032556
commit 46103e62d2
  1. 3
      lib/helper.php

@ -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…
Cancel
Save