Skip to content
Snippets Groups Projects
Commit f4fef2fc authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #3755 from protich/hotfix/syntax-error

Syntax Errors Hotfix
parents b9f0937b 27ca5f92
Branches
Tags
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.
Please register or to comment