suppress warnings

This commit is contained in:
Steffen Schröder
2014-10-24 20:28:11 +02:00
parent b25171657c
commit 2a6ef42017
2 changed files with 3 additions and 3 deletions

View File

@ -404,7 +404,7 @@ class MapManager implements CallbackListener {
return;
}
if (!file_put_contents($fullMapFileName, $file)) {
if (!@file_put_contents($fullMapFileName, $file)) {
// Save error
$this->maniaControl->getChat()->sendError('Saving map failed!', $login);
return;