Merge pull request #802 from NicoDucou/forge10174

Fix variable name error -refs BT#10174
1.10.x
Yannick Warnier 10 years ago
commit 70a1a71670
  1. 2
      plugin/advanced_subscription/src/admin_view.php

@ -69,7 +69,7 @@ if (!empty($sessionId)) {
$data['studentUserId'] = $studentId;
$fieldValue = new ExtraFieldValue('user');
$areaField = $foo->get_values_by_handler_and_field_variable($studentId, 'area', true);
$areaField = $fieldValue->get_values_by_handler_and_field_variable($studentId, 'area', true);
$student['area'] = $areaField['value'];
$student['userLink'] = api_get_path(WEB_CODE_PATH).'social/profile.php?u='.$studentId;

Loading…
Cancel
Save