* fix the notice error.

This commit is contained in:
wangchunsheng
2010-05-03 07:42:28 +00:00
parent 48d751f76f
commit 4098545eaf
+1 -1
View File
@@ -109,7 +109,7 @@
<td class='nobr'>
<?php
if(isset($case->storyTitle)) echo html::a($this->createLink('story', 'view', "storyID=$case->story"), "#$case->story:$case->storyTitle");
if($case->storyStatus == 'active' and $case->latestStoryVersion > $case->storyVersion)
if($case->story and $case->storyStatus == 'active' and $case->latestStoryVersion > $case->storyVersion)
{
echo "(<span class='warning'>{$lang->story->changed}</span> ";
echo html::a($this->createLink('testcase', 'confirmStoryChange', "caseID=$case->id"), $lang->confirm, 'hiddenwin');