diff --git a/install/updates/preconfig.php b/install/updates/preconfig.php index 17e20916..fff42d9b 100644 --- a/install/updates/preconfig.php +++ b/install/updates/preconfig.php @@ -47,7 +47,7 @@ function getPreConfig($current_version) function versionInUpdate($current_version, $version_to_check) { $pos_a = strpos($current_version, '-svn'); - $pos_b = strpos($current_version, '-svn'); + $pos_b = strpos($version_to_check, '-svn'); // if we compare svn-versions, we have to add -svn0 to the version // to compare it correctly if($pos_a === false && $pos_b !== false)