GeoNode/geonode — pull request #398 by ischneider (2012-09-18 16:59:57+00:00)
Title: fix undefined variables and one bad logic stmt

Found these while reviewing another PR.