diff options
author | Malf Furious <m@lfurio.us> | 2018-09-24 12:55:21 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2018-09-24 12:55:21 -0400 |
commit | fbb9bcb787287597a0666b9313a4754ed03d242b (patch) | |
tree | 23c9b8fff3bb80b6fa99ae1ba2977844a19e19a5 /app/view/deleteaccount.php | |
parent | c928adca5d7cd40a786da830ecea78369072fc19 (diff) | |
download | scrott-fbb9bcb787287597a0666b9313a4754ed03d242b.tar.gz scrott-fbb9bcb787287597a0666b9313a4754ed03d242b.zip |
agent: Fix bug in function canAccess()
This is probabally more of an oops than a bug, although was causing
unexpected behavior.
When falling back to checking whether the agent has access to the
object's owner, it was wrongly accessing through $this->owner, rather
than $obj->owner (which is the function argument). This was probabally
left over from how this function _used_ to be implemented (you would
call on the object and pass in the user).
Diffstat (limited to 'app/view/deleteaccount.php')
0 files changed, 0 insertions, 0 deletions