# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: fb_social/fb_social.admin.inc
--- fb_social/fb_social.admin.inc Base (1.2.2.6)
+++ fb_social/fb_social.admin.inc Locally Modified (Based On 1.2.2.6)
@@ -77,7 +77,8 @@
   $fb_locale = array();
   $cache = cache_get('fb_social');
   if (empty($cache->data)) {
-    $xml = simplexml_load_file("http://www.facebook.com/translations/FacebookLocales.xml");
+    $result = drupal_http_request("http://www.facebook.com/translations/FacebookLocales.xml");
+    $xml = simplexml_load_string($result->data);
     foreach ( $xml->locale as $line ) {
       $representation = ( array ) $line->codes->code->standard->representation;
       $name = ( array ) $line->englishName;
