allow -rc in friendica version listings
This commit is contained in:
parent
ce39992875
commit
0905f18c0f
|
@ -278,7 +278,7 @@ function admin_page_federation(&$a) {
|
||||||
$newVV = $vv['version'];
|
$newVV = $vv['version'];
|
||||||
$lastDot = strrpos($newVV,'.');
|
$lastDot = strrpos($newVV,'.');
|
||||||
$len = strlen($newVV)-1;
|
$len = strlen($newVV)-1;
|
||||||
if ($lastDot == $len-4)
|
if (($lastDot == $len-4) && (!strrpos($newVV,'-rc')==$len-3))
|
||||||
$newVV = substr($newVV, 0, $lastDot);
|
$newVV = substr($newVV, 0, $lastDot);
|
||||||
if (isset($newV[$newVV]))
|
if (isset($newV[$newVV]))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue