Fixed undefined variable in web service call

skala
ywarnier 14 years ago
parent 2181026324
commit 912ea1ff6b
  1. 2
      main/webservices/registration.soap.php

@ -4843,7 +4843,7 @@ function WSUpdateUserApiKey($params) {
// Save new fieldlabel into user_field table.
$field_id = UserManager::create_extra_field($params['original_user_id_name'], 1, $params['original_user_id_name'], '');
// Save the external system's id into user_field_value table.
$res = UserManager::update_extra_field_value($return, $params['original_user_id_name'], $params['original_user_id_value']);
$res = UserManager::update_extra_field_value($user_id, $params['original_user_id_name'], $params['original_user_id_value']);
}
else {
return 0;

Loading…
Cancel
Save