- Patch #1423510 by oriol_e9g: undefined var in prepareInstallDirectory.
authorDries
Thu, 2 Feb 2012 16:20:43 +0000 (11:20 -0500)
committerDries
Thu, 2 Feb 2012 16:20:43 +0000 (11:20 -0500)
includes/updater.inc

index 9801629..d4f99e9 100644 (file)
@@ -330,7 +330,7 @@ class Updater {
           }
           catch (FileTransferException $e) {
             $message = t($e->getMessage(), $e->arguments);
-            $throw_message = t('Unable to create %directory due to the following: %reason', array('%directory' => $install_location, '%reason' => $message));
+            $throw_message = t('Unable to create %directory due to the following: %reason', array('%directory' => $directory, '%reason' => $message));
             throw new UpdaterException($throw_message);
           }
         }