Bug fix patches
- Added language translation words in langusge files - Updated bugsnage API key - Fixed PHP7.2 issues in organization view and ticket reply reading
This commit is contained in:

committed by
Manish Verma

parent
334a7a8299
commit
b288ec57a3
@@ -904,7 +904,7 @@ class TicketController extends Controller
|
|||||||
$find_number = Tickets::where('ticket_number', '=', $new_subject)->first();
|
$find_number = Tickets::where('ticket_number', '=', $new_subject)->first();
|
||||||
$thread_body = explode('---Reply above this line---', $body);
|
$thread_body = explode('---Reply above this line---', $body);
|
||||||
$body = $thread_body[0];
|
$body = $thread_body[0];
|
||||||
if (count($find_number) > 0) {
|
if ($find_number->count() > 0) {
|
||||||
$id = $find_number->id;
|
$id = $find_number->id;
|
||||||
$ticket_number = $find_number->ticket_number;
|
$ticket_number = $find_number->ticket_number;
|
||||||
if ($find_number->status > 1) {
|
if ($find_number->status > 1) {
|
||||||
|
@@ -13,7 +13,7 @@ return [
|
|||||||
| which should receive your application's uncaught exceptions.
|
| which should receive your application's uncaught exceptions.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
'api_key' => 'd946b1758d755ba6f0095348a4924a63',
|
'api_key' => '280264db78f78f46e37169b2b65bed2d',
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@@ -1634,4 +1634,12 @@ return [
|
|||||||
'do-not-refresh' => '(Please do not use "Refresh" or "Back" button)',
|
'do-not-refresh' => '(Please do not use "Refresh" or "Back" button)',
|
||||||
'cleaning-in-progress' => 'Cleaning in progress, please wait while we are cleaning your database',
|
'cleaning-in-progress' => 'Cleaning in progress, please wait while we are cleaning your database',
|
||||||
'cleaning-database' => 'Cleaning dummy data from database.',
|
'cleaning-database' => 'Cleaning dummy data from database.',
|
||||||
|
'native-name' => 'Native name',
|
||||||
|
'choose' => 'Choose',
|
||||||
|
'going-overdue-today' => 'This ticket will become overdue today.',
|
||||||
|
'ticket_has_attachments' => 'This ticket contains attachment(s)',
|
||||||
|
'is_overdue' => 'This ticket is marked as overdue',
|
||||||
|
'ticket_has_collaborator' => 'This ticket has collaborator(s)',
|
||||||
|
'ticket_created_source' => 'This ticket is created via :source',
|
||||||
|
'ticket-has-x-priority' => 'This ticket has :priority priority',
|
||||||
];
|
];
|
||||||
|
@@ -208,8 +208,8 @@ class="active"
|
|||||||
$title = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', $ticket->id)->first();
|
$title = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', $ticket->id)->first();
|
||||||
$string = strip_tags($title->title);
|
$string = strip_tags($title->title);
|
||||||
// check atatchments
|
// check atatchments
|
||||||
$attachments = App\Model\helpdesk\Ticket\Ticket_attachments::where('thread_id', '=', $title->id)->first();
|
$attachments = App\Model\helpdesk\Ticket\Ticket_attachments::where('thread_id', '=', $title->id)->count();
|
||||||
$attach = count($attachments);
|
$attach = $attachments;
|
||||||
|
|
||||||
if (strlen($string) > 40) {
|
if (strlen($string) > 40) {
|
||||||
$stringCut = substr($string, 0, 40);
|
$stringCut = substr($string, 0, 40);
|
||||||
@@ -449,8 +449,8 @@ class="active"
|
|||||||
$title = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', $ticket->id)->first();
|
$title = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', $ticket->id)->first();
|
||||||
$string = strip_tags($title->title);
|
$string = strip_tags($title->title);
|
||||||
// check atatchments
|
// check atatchments
|
||||||
$attachments = App\Model\helpdesk\Ticket\Ticket_attachments::where('thread_id', '=', $title->id)->first();
|
$attachments = App\Model\helpdesk\Ticket\Ticket_attachments::where('thread_id', '=', $title->id)->count();
|
||||||
$attach = count($attachments);
|
$attach = $attachments;
|
||||||
|
|
||||||
if (strlen($string) > 40) {
|
if (strlen($string) > 40) {
|
||||||
$stringCut = substr($string, 0, 40);
|
$stringCut = substr($string, 0, 40);
|
||||||
|
Reference in New Issue
Block a user