CiviCRM doesn't respect table prefixing, so referencing CiviCRM tables using {civicrm_contact} instead of just civicrm_contact will cause errors on sites which use table prefixing.

CommentFileSizeAuthor
#1 572104-remove-table-prefixing.patch2.58 KBxurizaemon

Comments

xurizaemon’s picture

Status: Active » Needs review
StatusFileSize
new2.58 KB

I don't generally use table prefixing on sites myself (that's what different DBs are for!) so I can't test this patch easily, but all I did was remove the curly braces. Didn't see any Drupal tables mentioned.

axlroach’s picture

You're right about the CCRM tables (just habit ;) ), but the 'uc_civicrm_profile_pane' table is a drupal table. Installed when the module is installed, so I'll put the braces back on that one and then commit this patch... Hope to get to this by the end of the week.

Thanks!
aj