Permalink
Browse files

// remove warning

  • Loading branch information...
1 parent ddb2bf1 commit 07789c8815533feb588663d06d2c5a6d17f6a8cf @gRoussac gRoussac committed Mar 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 controllers/admin/AdminTranslationsController.php
@@ -719,7 +719,7 @@ public function submitAddLang()
@stream_context_create(array('http' => array('method' => 'GET', 'timeout' => 5)))))
{
$file = _PS_TRANSLATIONS_DIR_.$arr_import_lang[0].'.gzip';
- if ((bool)file_put_contents($file, $content))
+ if ((bool)@file_put_contents($file, $content))
{
$gz = new Archive_Tar($file, true);
$files_list = $gz->listContent();

0 comments on commit 07789c8

Please sign in to comment.