aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_plugins.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_plugins.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_plugins.inc.php b/include/functions_plugins.inc.php
index 0ba15be2b..b980390a8 100644
--- a/include/functions_plugins.inc.php
+++ b/include/functions_plugins.inc.php
@@ -380,7 +380,7 @@ function autoupdate_plugin(&$plugin)
$i++;
if ($i < 2) continue; // first lines are typically "<?php" and "/*"
- if (preg_match('#Version: ([\\w.-]+)#', $line, $matches))
+ if (preg_match('/Version:\\s*([\\w.-]+)/', $line, $matches))
{
$fs_version = $matches[1];
}