I've got another "undefined index" Error in Line 217 and changed this from

$form_state['context']['commerce_product_reference_flag_destination'] = $form_state['values']['commerce_product_reference_flag_destination'];

into

if(isset($form_state['context']['commerce_product_reference_flag_destination'])) {
		$form_state['context']['commerce_product_reference_flag_destination'] = $form_state['values']['commerce_product_reference_flag_destination'];
	}

It seems to be working fine now.

Comments

istavros’s picture

Here is a patch for this

vensires’s picture

Status: Active » Reviewed & tested by the community