When running cron with node import enabled, the following problem happens:

notice: Undefined property: stdClass::$profile_dob in birthdays_load_user() (line 658 of {PATH}/sites/all/modules/birthdays/birthdays.module).

This can easily be fixed by checking if the property is set prior to doing things with it. I've attached a patch which should fix this.

CommentFileSizeAuthor
birthdays-nodeimportcron-6.x-dev.patch504 bytestorpy

Comments

Niklas Fiekas’s picture

Status: Needs review » Fixed

Thank you. Commushed b6e6c82257eb2 (with the minor conversion of isset + true-ish = !empty).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.