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:
Manish Verma
2018-09-05 16:35:13 +05:30
committed by Manish Verma
parent 334a7a8299
commit b288ec57a3
4 changed files with 14 additions and 6 deletions

View File

@@ -208,8 +208,8 @@ class="active"
$title = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', $ticket->id)->first();
$string = strip_tags($title->title);
// check atatchments
$attachments = App\Model\helpdesk\Ticket\Ticket_attachments::where('thread_id', '=', $title->id)->first();
$attach = count($attachments);
$attachments = App\Model\helpdesk\Ticket\Ticket_attachments::where('thread_id', '=', $title->id)->count();
$attach = $attachments;
if (strlen($string) > 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();
$string = strip_tags($title->title);
// check atatchments
$attachments = App\Model\helpdesk\Ticket\Ticket_attachments::where('thread_id', '=', $title->id)->first();
$attach = count($attachments);
$attachments = App\Model\helpdesk\Ticket\Ticket_attachments::where('thread_id', '=', $title->id)->count();
$attach = $attachments;
if (strlen($string) > 40) {
$stringCut = substr($string, 0, 40);