statedecoded/statedecoded — pull request #460 by rtsio (2013-10-14 15:50:44+00:00)
Title: More undefined variable fixes in forms

More minor fixes to forms. Might be prudent to check $this -> form just once and set a boolean. Otherwise you get this when going to downloads:

```PHP Notice: Undefined property: API::$form in /home/ubuntu/statedecoded/includes/class.API.inc.php on line 221, referer: http://....compute-1.amazonaws.com/
PHP Notice: Trying to get property of non-object in /home/ubuntu/statedecoded/includes/class.API.inc.php on line 221, referer: http://...compute-1.amazonaws.com/
PHP Notice: Undefined property: API::$form in /home/ubuntu/statedecoded/includes/class.API.inc.php on line 224, referer: http://....compute-1.amazonaws.com/
PHP Notice: Trying to get property of non-object in /home/ubuntu/statedecoded/includes/class.API.inc.php on line 224, referer: http://....compute-1.amazonaws.com/
PHP Notice: Undefined property: API::$form in /home/ubuntu/statedecoded/includes/class.API.inc.php on line 227, referer: http://....compute-1.amazonaws.com/
PHP Notice: Trying to get property of non-object in /home/ubuntu/statedecoded/includes/class.API.inc.php on line 227, referer: http://....compute-1.amazonaws.com/```