The table for the summary of changes at the top of comments is rendered for every comment, even if there is no case changes on that comment.

The if statement surrounding the return statement fixes that problem.

  // Line 794 inside theme_casetracker_comment_changes()
  if (!empty($rows)) {
    return theme('table', NULL, $rows, array('class' => 'case_changes'));
  }

This is my first patch (it's against CVS). Hope it works out well.

CommentFileSizeAuthor
alawys_showing_comment_table-1.patch789 bytesAnonymous (not verified)

Comments

jmiccolis’s picture

Status: Needs review » Fixed

Sorry I sat on the patch for so long! Committed, Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.