Skip to content

Commit

Permalink
Fix missing variable assignment in Zone::CanAccessObject().
Browse files Browse the repository at this point in the history
Refs #6107
  • Loading branch information
gunnarbeutner committed May 8, 2014
1 parent 5678fe7 commit b52cc98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/remote/zone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ bool Zone::CanAccessObject(const DynamicObject::Ptr& object) const
if (dynamic_pointer_cast<Zone>(object))
object_zone = static_pointer_cast<Zone>(object);
else
Zone::GetByName(object->GetZone());
object_zone = Zone::GetByName(object->GetZone());

if (!object_zone)
object_zone = Zone::GetLocalZone();
Expand Down

0 comments on commit b52cc98

Please sign in to comment.