PMC-1427
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user