I consistently get a NOTICE when deleting a registration.

Notice: Undefined property: Registration::$is_new in registration_form_validate() (line 156 of sites/all/modules/contrib/registration/includes/registration.forms.inc).

Screenshot attached.

CommentFileSizeAuthor
Screen Shot 2013-01-27 at 10.45.22 PM.png42.87 KBrurri

Comments

rurri’s picture

Changing the line to the following fixes the error:
if (isset($registration->is_new)) {

tstermitz’s picture

I get the same error, same line number when I edit and try to save the form. The suggested line change fixes the problem for me, also.

tauno’s picture

Status: Active » Fixed

Fixed in bd3ff3c

Status: Fixed » Closed (fixed)

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

  • tauno committed bd3ff3c on 7.x-1.x, panels, any-entity, slots, integrations, hold_state
    Issue #1900666: Undefined property is_new in form validation.