mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Fixed constant typo (fixes #1260)
This commit is contained in:
parent
4a4d9c451f
commit
27169e1428
1
changelog/62_UNRELEASED_xxxx-xx-xx.md
Normal file
1
changelog/62_UNRELEASED_xxxx-xx-xx.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
- Fixed that tracking chores with "Done by" a different user was not possible
|
@ -81,7 +81,7 @@ class ChoresApiController extends BaseApiController
|
|||||||
|
|
||||||
if ($doneBy != GROCY_USER_ID)
|
if ($doneBy != GROCY_USER_ID)
|
||||||
{
|
{
|
||||||
User::checkPermission($request, User::PERMISSION_CHORE_TRACK_EXECUTION_EXECUTION);
|
User::checkPermission($request, User::PERMISSION_CHORE_TRACK_EXECUTION);
|
||||||
}
|
}
|
||||||
|
|
||||||
$choreExecutionId = $this->getChoresService()->TrackChore($args['choreId'], $trackedTime, $doneBy);
|
$choreExecutionId = $this->getChoresService()->TrackChore($args['choreId'], $trackedTime, $doneBy);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user