Skip to content

Instantly share code, notes, and snippets.

@Temaruk
Created January 18, 2012 12:09
Show Gist options
  • Save Temaruk/1632725 to your computer and use it in GitHub Desktop.
Save Temaruk/1632725 to your computer and use it in GitHub Desktop.
188-194 line of 'civicrm/CRM/Bridge/OG/Drupal.php'. $contactId will be null because the 'CRM_BRIDGE_OG_UTILS::contactID()' function call returns null.
static function og( &$params, $op ) {
require_once 'CRM/Bridge/OG/Utils.php';
$contactID = CRM_Bridge_OG_Utils::contactID( $params['uf_id'] );
if ( ! $contactID ) {
CRM_Core_Error::fatal( );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment