// remove warning

This commit is contained in:
gRoussac committed 2013-03-26 18:10:32 +01:00
1 parent ddb2bf1602
commit 07789c8815
1 file changed
+1 -1
@@ -719,7 +719,7 @@ class AdminTranslationsControllerCore extends AdminController
@stream_context_create(array('http' => array('method' => 'GET', 'timeout' => 5))))) @stream_context_create(array('http' => array('method' => 'GET', 'timeout' => 5)))))
{ {
$file = _PS_TRANSLATIONS_DIR_.$arr_import_lang[0].'.gzip'; $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); $gz = new Archive_Tar($file, true);
$files_list = $gz->listContent(); $files_list = $gz->listContent();