lesterchan/wp-polls — pull request #27 by davidajnered (2014-10-09 09:28:12+00:00)
Title: Avoid displaying errors when requesting an non-existing poll

I turned wp debug mode on and got the whole sidebar full or errors like "Notice: Trying to get property of non-object in wp-polls.php on line 562. Added a check after the db query to see if a poll was found, and if not display a standard plugin error and abort function.

I also converted indentation to tabs for consistency.