Commit 9ec7d247 authored by Dries's avatar Dries
Browse files

- Patch #1423510 by oriol_e9g: undefined var in prepareInstallDirectory.

parent 82cb7cf5
...@@ -330,7 +330,7 @@ public function prepareInstallDirectory(&$filetransfer, $directory) { ...@@ -330,7 +330,7 @@ public function prepareInstallDirectory(&$filetransfer, $directory) {
} }
catch (FileTransferException $e) { catch (FileTransferException $e) {
$message = t($e->getMessage(), $e->arguments); $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); throw new UpdaterException($throw_message);
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment