mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
used wrong var when listing approvals
This commit is contained in:
parent
eecba62d8c
commit
c045ba702e
|
@ -440,7 +440,7 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Theme_Style {
|
|||
case 0: // Approver is an individual.
|
||||
$required = $dms->getUser($a["required"]);
|
||||
if (!is_object($required)) {
|
||||
$reqName = getMLText("unknown_user")." '".$r["required"]."'";
|
||||
$reqName = getMLText("unknown_user")." '".$a["required"]."'";
|
||||
}
|
||||
else {
|
||||
$reqName = "<i class=\"fa fa-user\"></i> ".htmlspecialchars($required->getFullName()." (".$required->getLogin().")");
|
||||
|
@ -449,7 +449,7 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Theme_Style {
|
|||
case 1: // Approver is a group.
|
||||
$required = $dms->getGroup($a["required"]);
|
||||
if (!is_object($required)) {
|
||||
$reqName = getMLText("unknown_group")." '".$r["required"]."'";
|
||||
$reqName = getMLText("unknown_group")." '".$a["required"]."'";
|
||||
}
|
||||
else {
|
||||
$reqName = "<i class=\"fa fa-group\"></i> ".htmlspecialchars($required->getName());
|
||||
|
|
Loading…
Reference in New Issue
Block a user