v1.2.1: Fix PHP notice. Props klihelp.

http://wordpress.org/support/topic/php-notices-22