BugFix show PreStudent Variables instead of Person Variables in Msg

This commit is contained in:
Manfred Kindl
2020-02-12 09:40:19 +01:00
parent 4b3f6f109d
commit 98b2abeb51
3 changed files with 7 additions and 2 deletions
@@ -57,9 +57,10 @@ class Messages extends Auth_Controller
$subject = $this->input->post('subject');
$body = $this->input->post('body');
$persons = $this->input->post('persons');
$prestudenten = $this->input->post('prestudenten');
$relationmessage_id = $this->input->post('relationmessage_id');
$sendImplicitTemplate = $this->CLMessagesModel->sendImplicitTemplate($persons, $subject, $body, $relationmessage_id);
$sendImplicitTemplate = $this->CLMessagesModel->sendImplicitTemplate($prestudenten, $subject, $body, $relationmessage_id);
if (isSuccess($sendImplicitTemplate))
{
$this->load->view('system/messages/htmlSuccess');