Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikBuetler committed Aug 14, 2024
1 parent f73492d commit 6452392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/dba/AbstractModelFactory.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ public function checkAllPositiveJobPatterns($job) {
$json = $job->getLogalyzerResults();
if ($json != null) {
$data = json_decode($job->getLogalyzerResults(), true);
foreach ($data['pattern'] as $element) {
foreach ($data['result'] as $element) {
if($element['type'] === 'positive' && $element['count'] <= 0) {
return false;
}
Expand Down

0 comments on commit 6452392

Please sign in to comment.