Skip to content

Commit 27421a8

Browse files
committed
fixbug
1 parent e6d0414 commit 27421a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

application/index/view/bug/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ <h4 class="card-title">{:lang('My Bug')}</h4>
4343
{volist name="bugs" id="bug"}
4444
<tr>
4545
<td>{$bug.id}</td>
46-
<td>{$bug->project->project_name}</td>
46+
<td>{$bug->project ? $bug->project->project_name:''}</td>
4747
<td>{$bug.bug_title}</td>
48-
<td>{$bug->module->module_name}</td>
49-
<td>{$bug->version->version_name}</td>
48+
<td>{$bug->module ? $bug->module->module_name : ''}</td>
49+
<td>{$bug->version ? $bug->version->version_name : ''}</td>
5050
<td>{$bug->getBugStatusWord()}</td>
5151
<td>{$bug->create_time}</td>
5252
<td class="text-right">

0 commit comments

Comments
 (0)