]> git.mxchange.org Git - friendica.git/commitdiff
allow -rc in friendica version listings
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 9 Dec 2015 19:48:43 +0000 (20:48 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Fri, 15 Jan 2016 17:19:20 +0000 (18:19 +0100)
mod/admin.php

index 39677fb386f774e39b55651de7a5f752d09f6a29..772d186ed5cb5e9d6899f02863929b8f86b368e1 100644 (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])) 
                {