Issue #463 fix (adding empty tasks)


20/02/13 Added a check for undefined value, more at https://github.com/lefnire/habitrpg/issues/463 -lancemanfv

![habitsrpg](https://f.cloud.github.com/assets/3534827/177928/03c92b08-7ba5-11e2-8fe3-0cfb77ead9d7.jpg)