From e03ce0aea1f21f0159b328c7504eca11b043e547 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Mon, 18 Sep 2023 11:31:19 +0200
Subject: [PATCH] no color in rc column for running jobs

---
 classes/cronlog-renderer.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/classes/cronlog-renderer.class.php b/classes/cronlog-renderer.class.php
index 82f5975..fe8a776 100644
--- a/classes/cronlog-renderer.class.php
+++ b/classes/cronlog-renderer.class.php
@@ -223,7 +223,7 @@ class cronlogrenderer extends cronlog{
                         .$aEntry['SCRIPTTTL']
                         .$sTtlHr
                     .'</td>'
-                    . '<td class="'.($aEntry['SCRIPTRC']>0 ? 'message-error' : 'message-ok' ).'">'
+                    . '<td class="'.($aEntry['SCRIPTRC'] ? ($aEntry['SCRIPTRC']>0 ? 'message-error' : 'message-ok') : '' ).'">'
                         .($aEntry['SCRIPTRC'] ? $aEntry['SCRIPTRC'] : '⏳')
                         .'</td>'
                     . '<td class="'.($iNextRunWarn < date("U") 
-- 
GitLab