bhuisgen / rc-vacation

Vacation plugin for RoundCube Webmail
http://blog.hbis.fr/softwares/rc-vacation/
GNU General Public License v2.0
33 stars 37 forks source link

Bug fixed in my previous pgsql queries #29

Closed gianlucagiacometti closed 9 years ago

gianlucagiacometti commented 9 years ago

Hi, there is still a mistake in the query sequence of PostgreSQL queries. If the %vacation_forwarder is empty (ie if it is not set), the 6th query of the array will become UPDATE alias SET goto = replace(goto, ',', ||'',''), .... and will strip the comma between the email address and the forward address causing no valid alias set in the database. I'm diving right now into that and I will post the final patch once it's perfectly tested and working.