Commit bc88dfbc authored by David Morley's avatar David Morley

just to get things running again.

parent 29bcb735
......@@ -138,7 +138,7 @@ foreach ($pods as $pod) {
if ($jsonssl !== null) {
$xdver = $jsonssl->software->version ?? 0;
preg_match_all('((?:\d(.|-)?)+(\.|-)\d+\.*)', $xdver, $dverr);
$shortversion = $dverr[0][0];
$shortversion = $dverr[0][0] ?? '0.0.0.0';
$signup = ($jsonssl->openRegistrations ?? false) === true;
$softwarename = $jsonssl->software->name ?? 'unknown';
$name = $jsonssl->metadata->nodeName ?? $softwarename;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment