-- fixed for CRM-12333

Contact was not created since $params was reinitialized at 729. and $params was passed with wrong values in   $contact = CRM_Contact_BAO_Contact::add($params);