summaryrefslogtreecommitdiff
path: root/lib/plugins/extension/helper/extension.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/extension/helper/extension.php')
-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 88fb5e229..244ec9b9a 100644
--- a/lib/plugins/extension/helper/extension.php
+++ b/lib/plugins/extension/helper/extension.php
@@ -702,7 +702,7 @@ class helper_plugin_extension_extension extends DokuWiki_Plugin {
public function download($url, &$path) {
// check the url
$matches = array();
- if(!preg_match("/[^\/]*$/", $url, $matches) || !$matches[0]) {
+ if(!preg_match('/[^\/]*$/', $url, $matches) || !$matches[0]) {
return $this->getLang('baddownloadurl');
}
$file = $matches[0];