Shows webform_results_access: users even in anonymous , display error line 42 if none specified
Created by: plirof2
1.Shows in plain view the user list that has access
2. If no user is specified with access in anonymous it displays error:
Warning: Invalid argument supplied for foreach() στην webform_results_access_webform_access() (γραμμή 42 του /opt/lampp/htdocs/forms_minedu/sites/all/modules/drupal7_webform_results_access-master/webform_results_access.module).
Note line 42 is :
foreach ($node->field_webform_results_access['und'] as $i => $ref) { // User Reference if (isset($ref['uid']) && (($ref['uid'] == $account->uid))) { $access = true; break; }