Cancelling a user that is tracked by Notify produces the following error notice:

Notice: Undefined variable: user in notify_user_cancel() (line 149 of /hom/inf5270/www_docs/diw/gruppe01/sites/all/modules/notify/notify.module).
Notice: Trying to get property of non-object in notify_user_cancel() (line 149 of /hom/inf5270/www_docs/diw/gruppe01/sites/all/modules/notify/notify.module).

The problem is reproducable.

I've located and fixed the problem. Will post a patch shortly.

Comments

gisle’s picture

Assigned: gisle » Unassigned
Status: Active » Needs review
StatusFileSize
new658 bytes

A patch that fixes the above problem. Please review.

gisle’s picture

Status: Needs review » Fixed

Fixed in 7.x-1.x-dev of Jan. 4, 2013.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

More precision in description of problem.