I am not sure if this happens in all cases but I had this showing up in my dev server. May just need a !empty or isset() call around it.
Notice: Undefined index: confirmation_display in profile2_regpath_attach_profile_fields() (line 509 of sites/all/modules/profile2_regpath/profile2_regpath.module).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | profile2_regpath.module-fix-confirm-message-notice-1556732.patch | 544 bytes | joelpittet |
Comments
Comment #1
grasmash commentedthanks! fixed and pushed to dev.
Comment #2
binabot commentedthanks very much ! fixed it !
just change :
// Attach custom confirmation message to form for later display.
if ($misc['confirmation_display']) {
$_SESSION['profile2_regpath']['confirmation_message'] = $misc['confirmation_message'];
to :
// Attach custom confirmation message to form for later display.
if (!empty($misc['confirmation_display'])) {
$_SESSION['profile2_regpath']['confirmation_message'] = $misc['confirmation_message'];
Comment #3
joelpittetWell seems someone wants to take a direction there, I will go with it, here's the patch of LIJIAN code.
Comment #4
joelpittetComment #5
joelpittetsorry, I should really read and so should LIJIAN, you already went with isset. Back to fixed!