Closed (fixed)
Project:
Priorities
Version:
6.x-2.15
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2011 at 06:56 UTC
Updated:
24 Jun 2011 at 08:14 UTC
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
Comment #1
gibus commentedThx, 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).
Comment #2
ec commentedGood, thanks.
Comment #3
ec commentedBy the way, can you display a link to the 6.x-2.x-dev on the module page?
Comment #4
gibus commentedSure, done.