* fix the error when link story to a plan.

This commit is contained in:
wangchunsheng
2010-03-30 06:15:40 +00:00
parent 4584556f3c
commit 1e4819c508
+1 -1
View File
@@ -43,7 +43,7 @@
<?php foreach($allStories as $story):?>
<?php
if(isset($planStories[$story->id])) continue;
if(isset($story->plan) and helper::diffDate($plans[$story->plan]->end, helper::today()) > 0) continue;
if($story->plan and helper::diffDate($plans[$story->plan], helper::today()) > 0) continue;
?>
<tr>
<td><?php echo html::a($this->createLink('story', 'view', "storyID=$story->id"), $story->id);?></td>