| @@ -101,12 +101,8 @@ | ||
| 101 | 101 | if($valueKey == 'admin_url') { |
| 102 | 102 | return Helper::getTicketAdminUrl($ticket); |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | - if($valueKey == 'public_id') { | |
| 106 | - return $ticket->display_ticket_number; | |
| 107 | - } | |
| 108 | - | |
| 109 | 105 | $accesors = ['id', 'title', 'content', 'priority', 'client_priority', 'status', 'created_at']; |
| 110 | 106 | if(in_array($valueKey, $accesors)) { |
| 111 | 107 | return $ticket->{$valueKey}; |
| 112 | 108 | } |