summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/class/agent.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/agent.class.php b/app/class/agent.class.php
index 63a21ed..c8e6436 100644
--- a/app/class/agent.class.php
+++ b/app/class/agent.class.php
@@ -157,7 +157,7 @@ abstract class agent extends obj
if ($this->canAccessSub($parent))
return true;
}
- else if ($this->owner)
+ else if ($obj->owner)
{
$owner = new obj($obj->owner);
if ($this->canAccessSub($owner))