From 45be144ccc05347f44d4e36d2c35b07dcc2096b8 Mon Sep 17 00:00:00 2001 From: kremsy Date: Sat, 11 Jan 2014 10:57:07 +0100 Subject: [PATCH] strip dirty codes out of mapname --- application/core/Maps/Map.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/Maps/Map.php b/application/core/Maps/Map.php index c2ffa484..1aebb6c8 100644 --- a/application/core/Maps/Map.php +++ b/application/core/Maps/Map.php @@ -53,7 +53,7 @@ class Map { if(!$rpc_infos) { return; } - $this->name = $rpc_infos['Name']; + $this->name = FORMATTER::stripDirtyCodes($rpc_infos['Name']); $this->uid = $rpc_infos['UId']; $this->fileName = $rpc_infos['FileName']; $this->authorLogin = $rpc_infos['Author'];