summaryrefslogtreecommitdiff
path: root/lib/plugins/extension/helper
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/extension/helper')
-rw-r--r--lib/plugins/extension/helper/extension.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/extension/helper/extension.php b/lib/plugins/extension/helper/extension.php
index 550fc33fb..d912a44c0 100644
--- a/lib/plugins/extension/helper/extension.php
+++ b/lib/plugins/extension/helper/extension.php
@@ -797,7 +797,7 @@ class helper_plugin_extension_extension extends DokuWiki_Plugin {
// check the url
$matches = array();
if(!preg_match('/[^\/]*$/', $url, $matches) || !$matches[0]) {
- throw new Exception($this->getLang('baddownloadurl'));
+ throw new Exception($this->getLang('error_badurl'));
}
$file = $matches[0];