Browse Source

allow -rc in friendica version listings

pull/2255/head
Tobias Diekershoff 5 years ago
parent
commit
0905f18c0f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mod/admin.php

+ 1
- 1
mod/admin.php View File

@ -278,7 +278,7 @@ function admin_page_federation(&$a) {
$newVV = $vv['version'];
$lastDot = strrpos($newVV,'.');
$len = strlen($newVV)-1;
if ($lastDot == $len-4)
if (($lastDot == $len-4) && (!strrpos($newVV,'-rc')==$len-3))
$newVV = substr($newVV, 0, $lastDot);
if (isset($newV[$newVV]))
{


Loading…
Cancel
Save