I think we don't need `current_var_stud_attrib` variable.

```
$var_wrapper->field_variable_study_var_att->set(array(node_load($study_nid)));
```