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
Branches
Tags
No related merge requests found
...@@ -689,7 +689,7 @@ class TasksAjaxAPI extends AjaxController { ...@@ -689,7 +689,7 @@ class TasksAjaxAPI extends AjaxController {
$errors['err'] = $info['error'] = $m; $errors['err'] = $info['error'] = $m;
else else
$info['warn'] = sprintf(__('Are you sure you want to change status of %s?'), $info['warn'] = sprintf(__('Are you sure you want to change status of %s?'),
sprintf(__('this task')); __('this task'));
break; break;
default: default:
Http::response(404, __('Unknown status')); Http::response(404, __('Unknown status'));
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
$error=$msg=$warn=null; $error=$msg=$warn=null;
if (!$task->checkStaffPerm($thisstaff)) 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()) elseif ($task->isOverdue())
$warn.='&nbsp;<span class="Icon overdueTicket">'.__('Marked overdue!').'</span>'; $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