--- og_contact-DRUPAL-6--1/og_contact.pages.inc	2009-10-18 16:18:33.000000000 -0400
+++ og_contact/og_contact.pages.inc	2010-05-20 05:59:59.000000000 -0400
@@ -30,7 +30,10 @@ function og_contact_mail_page(&$form_sta
 
   // use a different theme if the group has one
   $theme_node = og_set_theme($gid);
-  og_set_group_context($theme_node);
+
+  // set group context
+  $node = node_load($gid);
+  og_set_group_context($node);
 
   $name = filter_xss($group->name);
   $admin = og_is_group_admin(node_load($gid));
