RackTables/racktables — pull request #18 by xx3nvyxx (2013-07-10 23:38:01+00:00)
Title: Prevent infinite loops in rackspace view

Somehow a user was able to get a location to be its own parent which caused an infinite loop. This assumes a location has no parent if it detects it is its own parent.