* Fix bug #47132.
This commit is contained in:
@@ -4856,7 +4856,7 @@ class storyModel extends model
|
||||
|
||||
$moreActions = '';
|
||||
$disabledFeatures = ",{$this->config->disabledFeatures},";
|
||||
if(($this->config->edition == 'max' or $this->config->edition == 'ipd') and $this->app->tab == 'project' and common::hasPriv('story', 'importToLib') and strpos($disabledFeatures, ',assetlibStorylib,') === false and strpos($disabledFeatures, ',assetlib,') === false)
|
||||
if($story->type != 'requirement' and ($this->config->edition == 'max' or $this->config->edition == 'ipd') and $this->app->tab == 'project' and common::hasPriv('story', 'importToLib') and strpos($disabledFeatures, ',assetlibStorylib,') === false and strpos($disabledFeatures, ',assetlib,') === false)
|
||||
{
|
||||
$moreActions .= '<li>' . html::a('#importToLib', "<i class='icon icon-assets'></i> " . $this->lang->story->importToLib, '', 'class="btn" data-toggle="modal"') . '</li>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user