summaryrefslogtreecommitdiffstats
path: root/lib/helper.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-02-10 14:09:49 +0100
committerLukas Reschke <lukas@statuscode.ch>2013-02-10 14:09:49 +0100
commit46103e62d2bb893daabd1e3e36e49bf857d144eb (patch)
tree145fa5f9ebbf073648f024c1b3be5522777d7225 /lib/helper.php
parent1b10032556c6188fc5310168083042e07e8c8b59 (diff)
downloadnextcloud-server-46103e62d2bb893daabd1e3e36e49bf857d144eb.tar.gz
nextcloud-server-46103e62d2bb893daabd1e3e36e49bf857d144eb.zip
Coding style
Diffstat (limited to 'lib/helper.php')
-rw-r--r--lib/helper.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 124ab9da96b..2713ffed451 100644
--- a/lib/helper.php
+++ b/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;
}