Fix add colonne
Hello,
when adding a new column to a date poll, the previous responses where not updated. If you add a new column which become the first column of your poll, it will get the responses of the previous first column. For example:
DateA | DateB | |
---|---|---|
UserA | __Y | __N |
UserB | __Y |
If you add a new date before DateA, you will get
DateC | DateA | DateB | |
---|---|---|---|
UserA | __Y | __N | |
UserB | __Y |
.
instead of
DateC | DateA | DateB | |
---|---|---|---|
UserA | __Y | __N | |
UserB | __Y | __N |
The root cause is that the update of the responses was taken away by 7f87858f in which the handling of $erreur_ajout_date
was changed.
This commit remove the faulty if
.
Best regards,
KP