* Fix bug #31559.
This commit is contained in:
@@ -758,7 +758,15 @@ class productplan extends control
|
||||
$this->productplan->unlinkStory($storyID, $planID);
|
||||
$this->loadModel('action')->create('productplan', $planID, 'unlinkstory', '', $storyID);
|
||||
|
||||
return print(js::locate($this->createLink('productplan', 'view', "planID=$planID&type=story"), 'parent'));
|
||||
if($this->session->storyList)
|
||||
{
|
||||
return print(js::locate($this->session->storyList, 'parent'));
|
||||
}
|
||||
else
|
||||
{
|
||||
return print(js::locate($this->createLink('productplan', 'view', "planID=$planID&type=story"), 'parent'));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user