Merged in release/3.2.4 (pull request #6537)
Update last changes from release/3.2.4 to release/3.3 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
@@ -1376,7 +1376,7 @@ class Cases
|
||||
* @param array $previousTasks, optional array that serves to trace the task routes and avoid infinite loops.
|
||||
* @return array, information about the threads in the case
|
||||
*/
|
||||
public function searchOpenPreviousTasks($taskUid, $appUid, $previousTasks = array())
|
||||
public function searchOpenPreviousTasks($taskUid, $appUid, &$previousTasks = array())
|
||||
{
|
||||
//In this array we are storing all open delegation rows.
|
||||
$threads = array();
|
||||
@@ -1408,7 +1408,7 @@ class Cases
|
||||
* @param array $previousTasks
|
||||
* @return array $taskReviewed
|
||||
*/
|
||||
public function getReviewedTasksRecursive($taskUid, $appUid, $previousTasks)
|
||||
public function getReviewedTasksRecursive($taskUid, $appUid, &$previousTasks)
|
||||
{
|
||||
$taskReviewed = array();
|
||||
$oCriteria = new Criteria('workflow');
|
||||
|
||||
Reference in New Issue
Block a user