// Fixed potential warning on homepage #PSCFV-3679

This commit is contained in:
dMetzger committed 2012-08-20 08:38:57 +00:00
1 parent 81a1f214b1
commit 78cc75ef62
1 file changed
+1 -1
+1 -1
View File
@@ -2756,7 +2756,7 @@ class AdminControllerCore extends Controller
$context = stream_context_create($opts); $context = stream_context_create($opts);
foreach ($protocolsList as $protocol => $port) foreach ($protocolsList as $protocol => $port)
{ {
$content = file_get_contents($protocol.$this->addons_url, false, $context); $content = Tools::file_get_contents($protocol.$this->addons_url, false, $context);
// If content returned, we cache it // If content returned, we cache it
if ($content) if ($content)