mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
allow online patches in decimal format
This commit is contained in:
parent
a249ad43e8
commit
951f29769b
@ -835,7 +835,7 @@ class Client
|
|||||||
function ($carry, $item) {
|
function ($carry, $item) {
|
||||||
$matches = [];
|
$matches = [];
|
||||||
if (is_array($item) !== true
|
if (is_array($item) !== true
|
||||||
&& preg_match('/(\d+)\.tar/', $item, $matches) > 0
|
&& preg_match('/([\d\.\d]+?)\.tar/', $item, $matches) > 0
|
||||||
) {
|
) {
|
||||||
$carry[] = [
|
$carry[] = [
|
||||||
'version' => $matches[1],
|
'version' => $matches[1],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user