* Fix bug for compatible php8.0 .

This commit is contained in:
hufangzhou
2021-12-28 14:46:10 +08:00
parent df07ada2b3
commit 1a5adfe15f
10 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -947,7 +947,7 @@ class testtaskModel extends model
* @access public
* @return array
*/
public function getUserRuns($taskID, $user, $modules = '', $orderBy, $pager = null)
public function getUserRuns($taskID, $user, $modules = '', $orderBy = 'id_desc', $pager = null)
{
/* Select the table for these special fields. */
$specialFields = ',assignedTo,status,lastRunResult,lastRunner,lastRunDate,';