diff -r 83ce78cda3bd usr/src/ShindigIntegrator/shindig_integrator/shindig_files/ShindigIntegratorAppDataService.php --- a/usr/src/ShindigIntegrator/shindig_integrator/shindig_files/ShindigIntegratorAppDataService.php Mon Jan 25 12:05:43 2010 +0100 +++ b/usr/src/ShindigIntegrator/shindig_integrator/shindig_files/ShindigIntegratorAppDataService.php Mon Jan 25 15:24:08 2010 +0100 @@ -97,7 +97,7 @@ case 'self': foreach ($fields as $key) { $value = isset($values[$key]) ? $values[$key] : null; - if (! ShindigIntegratorDbFetcher::get()->setAppData($userId->getUserId($token), $key, $value, $token->getAppId())) { + if (! ShindigIntegratorDbFetcher::get()->setAppData($userId->getUserId($token), $key, $value, $appId)) { throw new SocialSpiException("Internal server error", ResponseError::$INTERNAL_ERROR); } }