summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-09-24 12:55:21 -0400
committerMalf Furious <m@lfurio.us>2018-09-24 12:55:21 -0400
commitfbb9bcb787287597a0666b9313a4754ed03d242b (patch)
tree23c9b8fff3bb80b6fa99ae1ba2977844a19e19a5 /README.md
parentc928adca5d7cd40a786da830ecea78369072fc19 (diff)
downloadscrott-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 'README.md')
0 files changed, 0 insertions, 0 deletions