From 31d35713762e406e1a55de7a8ce743b4ad757ac3 Mon Sep 17 00:00:00 2001
From: Robert Lange <robert.lange@uni-leipzig.de>
Date: Thu, 24 Sep 2020 17:42:47 +0200
Subject: [PATCH] refs #18044 [fid_bbi] revert b37ed6a0 (#17834) fix casting
 error in admin module

* move into finc
---
 themes/bootstrap3/templates/admin/home.phtml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/bootstrap3/templates/admin/home.phtml b/themes/bootstrap3/templates/admin/home.phtml
index 6e9ad98ca1d..36de2e5b41b 100644
--- a/themes/bootstrap3/templates/admin/home.phtml
+++ b/themes/bootstrap3/templates/admin/home.phtml
@@ -34,7 +34,7 @@
       <tr>
         <th><?=$this->transEsc('Uptime')?>: </th>
         <?php $uptime = $core->xpath('//lst[@name="' . $coreName . '"]/long[@name="uptime"]') ?>
-        <td><?=$this->printms((int)array_pop($uptime))?></td>
+        <td><?=$this->printms((string)array_pop($uptime))?></td>
       </tr>
     </table>
   <?php endforeach; ?>
-- 
GitLab