Undefined variable

I'm running php 5.4 for the site we're working on and there was undefined variable notice:

![undefined variable](https://cloud.githubusercontent.com/assets/1377956/3451181/4288eb64-018f-11e4-9503-c8017ed6c955.png)

Wrapping an isset around the variable fixes this.