Navigation Menu

Skip to content

Commit

Permalink
Remove link display to present XSS
Browse files Browse the repository at this point in the history
  • Loading branch information
collectiveaccess committed Sep 24, 2021
1 parent c89441e commit aba331d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/helpers/displayHelpers.php
Expand Up @@ -1023,9 +1023,9 @@ function caEditorInspector($po_view, $pa_options=null) {
break;
}
}

$vs_buf .= "<div class='recordTitle {$vs_table_name}' style='width:190px; overflow:hidden;'>{$vs_label}".(($vb_show_idno) ? "<a title='$vs_idno'>".($vs_idno ? " ({$vs_idno})" : '') : "")."</a></div>";

$vs_buf .= "<div class='recordTitle {$vs_table_name}' style='width:190px; overflow:hidden;'>{$vs_label}".(($vb_show_idno) ? ($vs_idno ? " ({$vs_idno})" : '') : '')."</div>";

if (($vs_table_name === 'ca_object_lots') && $t_item->getPrimaryKey()) {
$vs_buf .= "<div id='inspectorLotMediaDownload'><strong>".((($vn_num_objects = $t_item->numObjects(null, ['excludeChildObjects' => $po_view->request->config->get("exclude_child_objects_in_inspector_log_count")])) == 1) ? _t('Lot contains %1 object', $vn_num_objects) : _t('Lot contains %1 objects', $vn_num_objects))."</strong>\n";
}
Expand Down

0 comments on commit aba331d

Please sign in to comment.