- Controller system/messages/Messages parameters are now retrieved via HTTP POST

- public/js/messaging/messageWrite.js function parseMessageText now perform a HTTP POST ajax call
This commit is contained in:
Paolo
2020-03-02 16:45:04 +01:00
parent de62bc0f3d
commit edf7800120
2 changed files with 4 additions and 4 deletions
@@ -92,9 +92,9 @@ class Messages extends Auth_Controller
*/
public function parseMessageText()
{
$receiver_id = $this->input->get('receiver_id');
$text = $this->input->get('text');
$type = $this->input->get('type');
$receiver_id = $this->input->post('receiver_id');
$text = $this->input->post('text');
$type = $this->input->post('type');
if ($type == Messages_model::TYPE_PERSONS)
{