X-Git-Url: https://scm.fusionforge.org/anonscm/gitweb?p=fusionforge%2Ffusionforge.git;a=blobdiff_plain;f=src%2Fcommon%2Fmail%2FMailingList.class.php;h=88a420adf024b1a1e5b137c189924314e938563c;hp=4e591bf1e63abeaaa7db8c0db03c60fa12515e56;hb=f2fcfa6b9c4c8cdef73f5f0ba9d7777eb9660250;hpb=adc5e8f32c6341a2d82535c87cd3a817db7cb20a diff --git a/src/common/mail/MailingList.class.php b/src/common/mail/MailingList.class.php index 4e591bf1e6..88a420adf0 100644 --- a/src/common/mail/MailingList.class.php +++ b/src/common/mail/MailingList.class.php @@ -5,6 +5,7 @@ * Copyright 2002, Tim Perdue/GForge, LLC * Copyright 2003, Guillaume Smet * Copyright 2009, Roland Mas + * Copyright 2012, Franck Villaume - TrivialDev * * This file is part of FusionForge. FusionForge is free software; * you can redistribute it and/or modify it under the terms of the @@ -235,7 +236,8 @@ Thank you for registering your project with %1$s. return false; } - if ($status == 'xyzzy') { + // do not update the status if the mailing-list is not created yet + if ($status == 'xyzzy' || $this->getStatus() == MAIL__MAILING_LIST_IS_REQUESTED) { $status = $this->getStatus(); }