mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
send request for approval mail only if no review is needed
previously the approver was invited to approve the document, even if the review hasn't been done
This commit is contained in:
parent
bbf4caa8c8
commit
6494eda4eb
|
@ -409,7 +409,7 @@ for ($file_num=0;$file_num<count($_FILES["userfile"]["tmp_name"]);$file_num++){
|
|||
}
|
||||
}
|
||||
|
||||
if($approvers['i'] || $approvers['g']) {
|
||||
elseif($approvers['i'] || $approvers['g']) {
|
||||
$subject = "approval_request_email_subject";
|
||||
$message = "approval_request_email_body";
|
||||
$params = array();
|
||||
|
|
|
@ -318,7 +318,7 @@ if ($_FILES['userfile']['error'] == 0) {
|
|||
}
|
||||
}
|
||||
|
||||
if($approvers['i'] || $approvers['g']) {
|
||||
elseif($approvers['i'] || $approvers['g']) {
|
||||
$subject = "approval_request_email_subject";
|
||||
$message = "approval_request_email_body";
|
||||
$params = array();
|
||||
|
|
Loading…
Reference in New Issue
Block a user