Merge branch 'master' into stable
This commit is contained in:
		
						commit
						87709a0585
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		|  | @ -145,9 +145,10 @@ class KorekturyView(generic.TemplateView): | |||
|             if email: | ||||
|                 emails.add(email) | ||||
|         # zodpovedny org | ||||
|         email_zobpovedny = oprava.pdf.org.user.email | ||||
|         if email_zobpovedny: | ||||
|             emails.add(email_zobpovedny) | ||||
|         if oprava.pdf.org: | ||||
|             email_zobpovedny = oprava.pdf.org.user.email | ||||
|             if email_zobpovedny: | ||||
|                 emails.add(email_zobpovedny) | ||||
| 
 | ||||
|         send_mail(subject, text, from_email, list(emails)) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Bc. Petr Pecha
						Bc. Petr Pecha