The following error is thrown when accessing this page:
admin/commerce/orders/add

Notice: Undefined index: cid in commerce_civicrm_form_commerce_order_ui_order_form_alter() (line 129 of commerce_civicrm.module)

I believe this is because I am accessing this page without any $_GET variables.

thanks!

CommentFileSizeAuthor
#1 notice-1896906-1.patch674 bytesdavidwbarratt

Comments

davidwbarratt’s picture

Status: Active » Needs review
StatusFileSize
new674 bytes

Attached is a patch that fixes the issue by first checking to see if the array index is empty.

muhleder’s picture

Issue summary: View changes
Status: Needs review » Fixed

Looks good. Committing.

Status: Fixed » Closed (fixed)

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