https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26c2290
)
beautification of pleroma stats
author
Tobias Diekershoff
<tobias.diekershoff@gmx.net>
Fri, 5 Apr 2019 04:39:34 +0000
(06:39 +0200)
committer
Tobias Diekershoff
<tobias.diekershoff@gmx.net>
Fri, 5 Apr 2019 04:39:34 +0000
(06:39 +0200)
mod/admin.php
patch
|
blob
|
history
diff --git
a/mod/admin.php
b/mod/admin.php
index
7f8e12e
..
5fc5342
100644
(file)
--- a/
mod/admin.php
+++ b/
mod/admin.php
@@
-680,6
+680,8
@@
function admin_page_federation(App $a)
do {
$part = array_pop($parts);
} while (!empty($parts) && ((strlen($part) >= 40) || (strlen($part) <= 3)));
+ // only take the x.x.x part of the version, not the "release" after the dash
+ $part = array_shift(explode('-', $part));
if (!empty($part)) {
if (empty($compacted[$part])) {