From 1be362911275b53934f79e363a451bc0885594e2 Mon Sep 17 00:00:00 2001 From: Paula Quispe Date: Wed, 27 Nov 2019 09:32:02 -0400 Subject: [PATCH] PMC-1427 --- workflow/engine/src/ProcessMaker/BusinessModel/User.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/workflow/engine/src/ProcessMaker/BusinessModel/User.php b/workflow/engine/src/ProcessMaker/BusinessModel/User.php index e5d18ee37..d572e0227 100644 --- a/workflow/engine/src/ProcessMaker/BusinessModel/User.php +++ b/workflow/engine/src/ProcessMaker/BusinessModel/User.php @@ -640,7 +640,7 @@ class User * @return array Return an array with custom record * @throws Exception */ - private function __getUserCustomRecordFromRecord(array $record) + private function getUserCustomRecordFromRecord(array $record) { try { //Get Calendar @@ -1084,7 +1084,7 @@ class User $row = $rsCriteria->getRow(); //Return - return (!$flagGetRecord) ? $this->__getUserCustomRecordFromRecord($row) : $row; + return (!$flagGetRecord) ? $this->getUserCustomRecordFromRecord($row) : $row; } catch (Exception $e) { throw $e; } @@ -1494,7 +1494,7 @@ class User while ($rsCriteria->next()) { $record = $rsCriteria->getRow(); - $arrayUser[] = ($flagRecord) ? $record : $this->__getUserCustomRecordFromRecord($record); + $arrayUser[] = ($flagRecord) ? $record : $this->getUserCustomRecordFromRecord($record); } //Return