in pollanon.module (line 48):
$form['#attributes']['class'] .= ' pollanon';

should be as:
$form['#attributes']['class'] = ' pollanon';

Dot should not be here, as otherwise it shows subj. for all site guests.

Comments

jhedstrom’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new579 bytes

Here's a patch. The issue is that the class attribute in Drupal 7 is always an array.

msmithcti’s picture

The if statement isn't needed, it can just be one line as in this patch.

awm’s picture

Issue summary: View changes

I can verify pathc #2 works. This has not been committed though.

awm’s picture

Status: Needs review » Reviewed & tested by the community
tomimikola’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.