Skip to content
Snippets Groups Projects
Commit 27ca5f92 authored by Peter Rotich's avatar Peter Rotich
Browse files

Syntax Errors Hotfix

Fixes syntax error introduced with commit 71a6b2a0 & 6e0ddf2e
parent b9f0937b
No related branches found
No related tags found
No related merge requests found
......@@ -689,7 +689,7 @@ class TasksAjaxAPI extends AjaxController {
$errors['err'] = $info['error'] = $m;
else
$info['warn'] = sprintf(__('Are you sure you want to change status of %s?'),
sprintf(__('this task'));
__('this task'));
break;
default:
Http::response(404, __('Unknown status'));
......
......@@ -2,7 +2,7 @@
$error=$msg=$warn=null;
if (!$task->checkStaffPerm($thisstaff))
$warn.= __('You do not have access to %s'), __('this task');
$warn.= sprintf(__('You do not have access to %s'), __('this task'));
elseif ($task->isOverdue())
$warn.='&nbsp;<span class="Icon overdueTicket">'.__('Marked overdue!').'</span>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment