Hi,
When setting the priorities of one survey, if the user has already saved a choice the warning message You have already set priorities for this survey... is displayed twice if the user change his/her choice. Hence FALSE should be added at the end of drupal_set_message(). Like this :
drupal_set_message(t('You have already set priorities for this survey. If you fill the form below, you will overwrite your previous answers. Click the following link to keep your previous answers:') . ' <a href="javascript:history.back()">' . t('cancel') . '</a>.', 'warning', FALSE) in line 950.
Regards,

Comments

gibus’s picture

Status: Active » Fixed

Thx, I've committed the fix in 6.x-2.x-dev (http://drupal.org/commitlog/commit/13118/28999140ef8378e5fb3390a8db8ec30...) so it will be included in the next release (obviously a special release for this minor bug is not needed).

ec’s picture

Status: Fixed » Closed (fixed)

Good, thanks.

ec’s picture

By the way, can you display a link to the 6.x-2.x-dev on the module page?

gibus’s picture

Sure, done.