Legal T&C Module

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
cocoa56's picture

Hi,

I installed legal module 7.x yesterday. When my current registered users log in for the first time after the legal module was installed they have to agree to the terms I set. As an administrator I see the following error when I look at the user account in edit mode under people.

Error message
Notice: Undefined variable: accepted in legal_form_user_profile_form_alter() (line 296 of /home/content/71/9017771/html/main/sites/all/modules/legal-7.x-1.2/legal/legal.module).

Can anyone tell me if that is a bug the legal module or did I not set something when I installed and configured the module?

Thanks
Cocoa56

Comments

known-ish issue

ultimike's picture

Looks like this has been reported before: http://drupal.org/node/1356822

I didn't go through the entire thread to see what the resolution is.

To find that issue, all I did was Google for, "drupal Notice: Undefined variable: accepted in legal_form_user_profile_form_alter() (line 296".

All that being said, it's only a PHP notice, annoying, but not serious.

-mike

Closed

cocoa56's picture

Thanks Mike. I found that also. It seems it happens on previous users but not on new ones after the module is installed.

Bob

Florida

Group organizers

Group categories

Florida Topics

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week