awesm/cuteonme — pull request #1 by maxkirchoff (2012-12-13 17:51:09+00:00)
Title: Did some minor tweaks to improve usability out of the box. There were tw...

...o issues I solved just by wrapping some if checks around the operations. The first was when you log in for the first time and have not yet asked any questions, there is an operation with twitter API results that causes a PHP error, because it's calling a property on a non-object. To prevent I added simple isset(->errors) check. The second was that you can erronously create a question with no users selected, which borks the overview. I just wrapped a null check there. Lastly, I converted all the php short tag echos to full tag echos. Especially for a sample app, this makes it less painful for everyone.