From 9b43f5593af843ab84daeb13d326be9d7590c8be Mon Sep 17 00:00:00 2001
From: Dries <dries@buytaert.net>
Date: Fri, 27 Jul 2012 11:18:32 -0400
Subject: [PATCH] - Patch #1700996 by droplet: undefined variable: file
 install.core.inc:1302.

---
 core/includes/install.core.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc
index 889dbe20bfef..a112b5ef3d30 100644
--- a/core/includes/install.core.inc
+++ b/core/includes/install.core.inc
@@ -1298,7 +1298,7 @@ function install_select_language(&$install_state) {
       }
       // One language, but not an interactive installation. Assume the user
       // knows what he is doing.
-      $langcode = current($files);
+      $file = current($files);
       $install_state['parameters']['langcode'] = $file->langcode;
       return;
     }
-- 
GitLab