possible to answer to messages with token without login

This commit is contained in:
alex
2018-05-18 19:28:27 +02:00
parent 4f993b06f4
commit 95e18e1ef1
11 changed files with 374 additions and 102 deletions
+2 -2
View File
@@ -185,9 +185,9 @@ class Messages extends FHC_Controller
{
$user_person = $this->PersonModel->getByUid($this->uid);
if (isError($user_person))
if (!hasData($user_person))
{
show_error($user_person->retval);
show_error('no sender');
}
$sender_id = $user_person->retval[0]->person_id;
}