We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6d0414 commit 27421a8Copy full SHA for 27421a8
application/index/view/bug/index.html
@@ -43,10 +43,10 @@ <h4 class="card-title">{:lang('My Bug')}</h4>
43
{volist name="bugs" id="bug"}
44
<tr>
45
<td>{$bug.id}</td>
46
- <td>{$bug->project->project_name}</td>
+ <td>{$bug->project ? $bug->project->project_name:''}</td>
47
<td>{$bug.bug_title}</td>
48
- <td>{$bug->module->module_name}</td>
49
- <td>{$bug->version->version_name}</td>
+ <td>{$bug->module ? $bug->module->module_name : ''}</td>
+ <td>{$bug->version ? $bug->version->version_name : ''}</td>
50
<td>{$bug->getBugStatusWord()}</td>
51
<td>{$bug->create_time}</td>
52
<td class="text-right">
0 commit comments