Merged in marcoAntonioNina/processmaker/BY-205 (pull request #3845)

BY-205
This commit is contained in:
Dante Loayza
2016-03-21 17:01:00 -04:00

View File

@@ -175,6 +175,7 @@ class AppDocumentDrive
$data = []; $data = [];
while ($rsAppDelegation->next()) { while ($rsAppDelegation->next()) {
$row = $rsAppDelegation->getRow(); $row = $rsAppDelegation->getRow();
if (!empty($row['USR_UID'])) {
if ($user->userExists($row['USR_UID'])) { if ($user->userExists($row['USR_UID'])) {
$data = []; $data = [];
$data[] = $user->load($row['USR_UID']); $data[] = $user->load($row['USR_UID']);
@@ -186,6 +187,7 @@ class AppDocumentDrive
$this->addUserEmail($dataUser["USR_EMAIL"]); $this->addUserEmail($dataUser["USR_EMAIL"]);
} }
} }
}
} catch (Exception $exception) { } catch (Exception $exception) {
error_log('Error: ' . $exception); error_log('Error: ' . $exception);
} }