d7_webform_results_access issueshttps://git.minedu.gov.gr/imarin/d7_webform_results_access/-/issues2019-02-07T22:52:00Zhttps://git.minedu.gov.gr/imarin/d7_webform_results_access/-/issues/1Shows webform_results_access: users even in anonymous , display error line 4...2019-02-07T22:52:00ZΓιάννης Μαρινίδης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_acc...*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;
}`