Download & Extend

php warnings on /user/*/edit/tac_lite

Project:Taxonomy Access Control Lite
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

    *  Notice: Undefined index: tac_lite in tac_lite_form_alter() (line 348 of /www/www-staging/drupal.sandbox.sanger.ac.uk/htdocs/sites/all/modules/contrib/tac_lite/tac_lite.module).
    * Notice: Undefined index: tac_lite_scheme_2 in tac_lite_form_alter() (line 348 of /www/www-staging/drupal.sandbox.sanger.ac.uk/htdocs/sites/all/modules/contrib/tac_lite/tac_lite.module).
    * Notice: Undefined index: tac_lite_scheme_3 in tac_lite_form_alter() (line 348 of /www/www-staging/drupal.sandbox.sanger.ac.uk/htdocs/sites/all/modules/contrib/tac_lite/tac_lite.module).
    * Notice: Undefined index: tac_lite_scheme_4 in tac_lite_form_alter() (line 348 of /www/www-staging/drupal.sandbox.sanger.ac.uk/htdocs/sites/all/modules/contrib/tac_lite/tac_lite.module).
    * Notice: Undefined index: tac_lite_scheme_5 in tac_lite_form_alter() (line 348 of /www/www-staging/drupal.sandbox.sanger.ac.uk/htdocs/sites/all/modules/contrib/tac_lite/tac_lite.module).

Comments

#1

adding an isset to line 248 seems to fix this...

// if ($form['#user']->data[$config['realm']]) { // removed
if (isset($form['#user']->data[$config['realm']])) { // added

#2

subscribe

nobody click here