mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-20 00:23:40 +02:00
only versions x.y.z can be checked against new version, not x.y.zbetaN
This commit is contained in:
@@ -85,7 +85,7 @@ class updates
|
||||
'is_dev' => true,
|
||||
);
|
||||
|
||||
if (preg_match('/(\d+\.\d+)\.(\d+)/', PHPWG_VERSION))
|
||||
if (preg_match('/^(\d+\.\d+)\.(\d+)$/', PHPWG_VERSION))
|
||||
{
|
||||
$new_versions['is_dev'] = false;
|
||||
$actual_branch = get_branch_from_version(PHPWG_VERSION);
|
||||
|
||||
Reference in New Issue
Block a user