Added spaces to control strucutures to follow the coding standards as defined here:
http://book.cakephp.org/2.0/en/contributing/cakephp-coding-conventions.html#ternary-operator