Skip to content

Commit

Permalink
Merge pull request #19 from susom/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
Jordan-M-Schultz authored Feb 14, 2025
2 parents 060a469 + ff85d26 commit 1efe483
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 177 deletions.
2 changes: 2 additions & 0 deletions classes/DashboardUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public function prepareFieldsForRender($projectId, $fields, $excluded = [], $for

foreach($fields as $k => $v) {
$label = isset($project->metadata[$k]) ? trim($project->metadata[$k]['element_label']) : null;
$label = strip_tags($label);

if(!empty($label)){
// Hidden fields should not be shown to client
if(str_contains($project->metadata[$k]['misc'],'HIDDEN') || in_array($project->metadata[$k], $excluded))
Expand Down
Loading

0 comments on commit 1efe483

Please sign in to comment.