diff --git a/module/productplan/view/linkstory.html.php b/module/productplan/view/linkstory.html.php index a9dc1319a3..1635f845ab 100644 --- a/module/productplan/view/linkstory.html.php +++ b/module/productplan/view/linkstory.html.php @@ -43,7 +43,7 @@ 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; ?> createLink('story', 'view', "storyID=$story->id"), $story->id);?>