Merged in bugfix/PMCORE-2627 (pull request #7686)
PMCORE-2627 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
add382bfed
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
namespace ProcessMaker\Model;
|
namespace ProcessMaker\Model;
|
||||||
|
|
||||||
|
use Cases;
|
||||||
use DateTime;
|
use DateTime;
|
||||||
use G;
|
use G;
|
||||||
use Illuminate\Database\Eloquent\Model;
|
use Illuminate\Database\Eloquent\Model;
|
||||||
@@ -1831,6 +1832,13 @@ class Delegation extends Model
|
|||||||
*/
|
*/
|
||||||
public static function getThreadTitle(string $tasUid, int $appNumber, int $delIndexPrevious, $caseData = [])
|
public static function getThreadTitle(string $tasUid, int $appNumber, int $delIndexPrevious, $caseData = [])
|
||||||
{
|
{
|
||||||
|
$cases = new Cases;
|
||||||
|
if (!is_array($caseData)) {
|
||||||
|
$r = $cases->unserializeData($caseData);
|
||||||
|
if($r !== false) {
|
||||||
|
$caseData = $r;
|
||||||
|
}
|
||||||
|
}
|
||||||
// Get task title defined
|
// Get task title defined
|
||||||
$task = new Task();
|
$task = new Task();
|
||||||
$taskTitle = $task->taskCaseTitle($tasUid);
|
$taskTitle = $task->taskCaseTitle($tasUid);
|
||||||
|
|||||||
Reference in New Issue
Block a user