profile_id is not an integer

Sutharsan - June 9, 2008 - 15:51
Project:CiviNode And Civinode CCK
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:needs review
Description

crm_uf_get_profile_fields() needs to be called with an integer profile id. Calling it with an integer results in a CiviCRM error message.
After admin selected as default profile (at admin/settings/civinode) the default profile id variable is no longer an integer. The attached patch is the easiest solution to this.

AttachmentSize
civinode.profile_id_not_integer.patch0 bytes

#1

Sutharsan - June 9, 2008 - 15:55

How strange, I need to save the change before making a patch ;)

AttachmentSize
civinode.profile_id_not_integer.patch 665 bytes

#2

Sutharsan - June 9, 2008 - 16:13

See also http://drupal.org/node/222010 for (probably) the same error.

#3

Sutharsan - July 1, 2008 - 14:33

@Torenware: Does this patch has your attention? Can I help getting it committed?

 
 

Drupal is a registered trademark of Dries Buytaert.