Skip to content

Commit

Permalink
Fix salesagility#10547 - Incorrect visualization of task due date on …
Browse files Browse the repository at this point in the history
…subpanels
  • Loading branch information
SinergiaCRM committed Oct 18, 2024
1 parent 80ee82d commit 9392cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ListView/ListViewSubPanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ public function process_dynamic_listview_rows($data, $parent_data, $smartyTempla
$alias_field_def['name'] = $list_field['alias'];
// Add alias field def into bean to can render field in subpanel
$aItem->field_defs[$list_field['alias']] = $alias_field_def;
if (!isset($fields[strtoupper($list_field['alias'])]) || empty($fields[strtoupper($list_field['alias'])])) {
if (!isset($fields[strtoupper($list_field['alias'])]) || empty($fields[strtoupper($list_field['alias'])]) || !isset($aitem->field_name_map[$list_field['alias']])) {
global $timedate;
$fields[strtoupper($list_field['alias'])] = (!empty($aItem->$field_name)) ? $aItem->$field_name : $timedate->to_display_date_time($aItem->{$list_field['alias']});
}
Expand Down

0 comments on commit 9392cbc

Please sign in to comment.