mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 14:44:34 -04:00
minor fixes, lang updates
This commit is contained in:
parent
bc1ba0f237
commit
0d23f862be
@ -528,7 +528,7 @@ class TaskController extends BaseController
|
|||||||
return response()->json(['message' => $hash_or_response], 200);
|
return response()->json(['message' => $hash_or_response], 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
$tasks->each(function ($task, $key) use ($action, $user) {
|
$tasks->each(function ($task) use ($action, $user) {
|
||||||
if ($user->can('edit', $task)) {
|
if ($user->can('edit', $task)) {
|
||||||
$this->task_repo->{$action}($task);
|
$this->task_repo->{$action}($task);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user