* Fix bug.

This commit is contained in:
tianshujie98
2021-01-19 13:52:35 +08:00
parent 8b8f90e3e5
commit 1ba2bf813d
3 changed files with 8 additions and 3 deletions
+5
View File
@@ -640,6 +640,11 @@ class project extends control
*
* @param int $projectID
* @param string $orderBy
* @param string $type
* @param string $param
* @param int $recTotal
* @param int $recPerPage
* @param int $pageID
* @access public
* @return void
*/
+1 -1
View File
@@ -2088,7 +2088,7 @@ class projectModel extends model
* @param array $products
*
* @access public
* @return mixed
* @return bool
*/
public function linkStory($projectID, $stories = array(), $products = array())
{
+2 -2
View File
@@ -21,7 +21,7 @@
<div class="btn-toolbar pull-right">
<div class='btn-group'>
<?php
common::printIcon('story', 'export', "productID=$productID&orderBy=id_desc", '', 'button', '', '', 'export');
common::printIcon('story', 'export', "productID=$productID&orderBy=id_desc", '', 'button', '', '', 'export', '', "data-group='project'");
if($canBeChanged)
{
@@ -37,7 +37,7 @@
}
?>
</div>
<?php if($canBeChanged and $productID and !$this->loadModel('story')->checkForceReview()) common::printLink('story', 'create', "productID=$productID&branch=&moduleID=0&story=0&project=$project->id", "<i class='icon icon-plus'></i> " . $lang->project->createStory, '', "class='btn btn-primary'");?>
<?php if($canBeChanged and $productID and !$this->loadModel('story')->checkForceReview()) common::printLink('story', 'create', "productID=$productID&branch=&moduleID=0&story=0&project=$project->id", "<i class='icon icon-plus'></i> " . $lang->project->createStory, '', "class='btn btn-primary' class='btn btn-link export' data-group='project'");?>
</div>
</div>
<?php