projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce39992
)
allow -rc in friendica version listings
author
Tobias Diekershoff
<tobias.diekershoff@gmx.net>
Wed, 9 Dec 2015 19:48:43 +0000
(20:48 +0100)
committer
Tobias Diekershoff
<tobias.diekershoff@gmx.net>
Fri, 15 Jan 2016 17:19:20 +0000
(18:19 +0100)
mod/admin.php
patch
|
blob
|
history
diff --git
a/mod/admin.php
b/mod/admin.php
index 39677fb386f774e39b55651de7a5f752d09f6a29..772d186ed5cb5e9d6899f02863929b8f86b368e1 100644
(file)
--- a/
mod/admin.php
+++ b/
mod/admin.php
@@
-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]))
{