From 09f9ad6fa3ffe5ffdf76780b605b6be9c806e36e Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Thu, 5 Sep 2019 11:59:24 +0200
Subject: [PATCH] fix flag to use skip entires

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

diff --git a/classes/cronlog.class.php b/classes/cronlog.class.php
index acaf22a..2d1ce52 100644
--- a/classes/cronlog.class.php
+++ b/classes/cronlog.class.php
@@ -238,7 +238,7 @@ class cronlog {
             while (($line = fgets($fileHandle)) !== false) {
                 // send the current file part to the browser
                 $aData=$this->_parseJoblogLine($line);
-                if(!$bUseSkip && array_search($aData['job'], $this->_aSkipJoblogs)===false){
+                if($bUseSkip && array_search($aData['job'], $this->_aSkipJoblogs)===false){
                     $aReturn[$aData['start']]=$aData;
                 }
             }
-- 
GitLab