summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlib/util.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php
index 225e70d7658..374baa43dbe 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -467,8 +467,7 @@ class OC_Util {
* @return array with sanitized strings or a single sanitized string, depends on the input parameter.
*/
public static function sanitizeHTML( &$value ) {
- if (is_array($value) || is_object($value))
- {
+ if (is_array($value) || is_object($value)) {
array_walk_recursive($value, 'OC_Util::sanitizeHTML');
} else {
$value = htmlentities($value, ENT_QUOTES, 'UTF-8'); //Specify encoding for PHP<5.4