Move { to same line

This commit is contained in:
Lukas Reschke 2013-01-14 22:04:31 +01:00
parent c845e75693
commit ab287d2ba4
1 changed files with 1 additions and 2 deletions

View File

@ -467,8 +467,7 @@ class OC_Util {
* @return array with sanitized strings or a single sanitized string, depends on the input parameter. * @return array with sanitized strings or a single sanitized string, depends on the input parameter.
*/ */
public static function sanitizeHTML( &$value ) { 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'); array_walk_recursive($value, 'OC_Util::sanitizeHTML');
} else { } else {
$value = htmlentities($value, ENT_QUOTES, 'UTF-8'); //Specify encoding for PHP<5.4 $value = htmlentities($value, ENT_QUOTES, 'UTF-8'); //Specify encoding for PHP<5.4