mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01:00
Move { to same line
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user