Index: openid_provider.pages.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/openid_provider/openid_provider.pages.inc,v
retrieving revision 1.1
diff -u -p -b -r1.1 openid_provider.pages.inc
--- openid_provider.pages.inc	13 Apr 2008 11:53:04 -0000	1.1
+++ openid_provider.pages.inc	17 Oct 2008 19:00:40 -0000
@@ -68,14 +68,16 @@ function openid_provider_send() {
  * @param object $account User account object for the user.
  */
 function openid_provider_sites($account) {
-  return drupal_get_form('openid_provider_sites_form');
+  return drupal_get_form('openid_provider_sites_form', $account);
 }
 
 /**
  * Form builder function for openid_provider_sites
  */
-function openid_provider_sites_form() {
+function openid_provider_sites_form($form_state, $user = NULL) {
+  if (!$user) {
   global $user;
+  }
   
   module_load_include('inc', 'openid_provider');
   
