FIX_refix
This commit is contained in:
parent
66e9fc6ffc
commit
e97d623021
@ -71,9 +71,11 @@ class ThzController extends BaseController
|
|||||||
|
|
||||||
$returnType = strtolower($this->request->getGet('return_type') ?? 'api');
|
$returnType = strtolower($this->request->getGet('return_type') ?? 'api');
|
||||||
|
|
||||||
|
|
||||||
$data = $this->request->getGet();
|
$data = $this->request->getGet();
|
||||||
|
|
||||||
$tickets = $this->fetchTicketsBasedOnrole($data);
|
$tickets = $this->fetchTicketsBasedOnrole($data);
|
||||||
|
|
||||||
|
|
||||||
if ($returnType === 'api') {
|
if ($returnType === 'api') {
|
||||||
if (empty($tickets)) {
|
if (empty($tickets)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user