diff --git a/core/src/core/classes/class.SystemTextEncoding.php b/core/src/core/classes/class.SystemTextEncoding.php index 9d05fe5524..d08a8a06a2 100644 --- a/core/src/core/classes/class.SystemTextEncoding.php +++ b/core/src/core/classes/class.SystemTextEncoding.php @@ -124,7 +124,7 @@ public static function magicDequote($text) * @param string $filesystemElement * @return string */ - public static function fromPostedFileName(&$filesystemElement) + public static function fromPostedFileName($filesystemElement) { return SystemTextEncoding::fromUTF8(SystemTextEncoding::magicDequote($filesystemElement)); }