* Fix a bug.

This commit is contained in:
zhouxin
2022-08-05 00:52:40 +00:00
parent e5c57e1893
commit 6c1f9f0568
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1688,7 +1688,7 @@ class bugModel extends model
$bugIDList = array();
if($moduleName == 'contributeBug')
{
$bugsAssignedByMe = $this->loadModel('my')->getAssignedByMe($account, 0, $pager, $orderBy, 0, 'bug');
$bugsAssignedByMe = $this->loadModel('my')->getAssignedByMe($account, 0, '', $orderBy, 0, 'bug');
foreach($bugsAssignedByMe as $bugID => $bug) $bugIDList[$bugID] = $bugID;
}
+2 -2
View File
@@ -550,7 +550,7 @@ class myModel extends model
$taskIDList = array();
if($moduleName == 'contributeTask')
{
$tasksAssignedByMe = $this->getAssignedByMe($account, 0, $pager, $orderBy, 0, 'task');
$tasksAssignedByMe = $this->getAssignedByMe($account, 0, '', $orderBy, 0, 'task');
foreach($tasksAssignedByMe as $taskID => $task)
{
$taskIDList[$taskID] = $taskID;
@@ -822,7 +822,7 @@ class myModel extends model
$storyIDList = array();
if($type == 'contribute')
{
$storiesAssignedByMe = $this->getAssignedByMe($this->app->user->account, '', $pager, $orderBy, '', 'story');
$storiesAssignedByMe = $this->getAssignedByMe($this->app->user->account, '', '', $orderBy, '', 'story');
foreach($storiesAssignedByMe as $storyID => $story)
{
$storyIDList[$storyID] = $storyID;