This commit is contained in:
Paula Quispe
2019-11-27 09:32:02 -04:00
parent fb0d8abc53
commit 1be3629112

View File

@@ -640,7 +640,7 @@ class User
* @return array Return an array with custom record * @return array Return an array with custom record
* @throws Exception * @throws Exception
*/ */
private function __getUserCustomRecordFromRecord(array $record) private function getUserCustomRecordFromRecord(array $record)
{ {
try { try {
//Get Calendar //Get Calendar
@@ -1084,7 +1084,7 @@ class User
$row = $rsCriteria->getRow(); $row = $rsCriteria->getRow();
//Return //Return
return (!$flagGetRecord) ? $this->__getUserCustomRecordFromRecord($row) : $row; return (!$flagGetRecord) ? $this->getUserCustomRecordFromRecord($row) : $row;
} catch (Exception $e) { } catch (Exception $e) {
throw $e; throw $e;
} }
@@ -1494,7 +1494,7 @@ class User
while ($rsCriteria->next()) { while ($rsCriteria->next()) {
$record = $rsCriteria->getRow(); $record = $rsCriteria->getRow();
$arrayUser[] = ($flagRecord) ? $record : $this->__getUserCustomRecordFromRecord($record); $arrayUser[] = ($flagRecord) ? $record : $this->getUserCustomRecordFromRecord($record);
} }
//Return //Return