From 6c1f9f0568c5867b90fcbd9cdbc5b41d579d0525 Mon Sep 17 00:00:00 2001 From: zhouxin Date: Fri, 5 Aug 2022 00:52:40 +0000 Subject: [PATCH] * Fix a bug. --- module/bug/model.php | 2 +- module/my/model.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/bug/model.php b/module/bug/model.php index 9f955ded2b..f43c797404 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -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; } diff --git a/module/my/model.php b/module/my/model.php index 5986ff02ec..62c0185ea2 100644 --- a/module/my/model.php +++ b/module/my/model.php @@ -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;