better with the proper type

This commit is contained in:
Jonathan Labreuille
2016-06-10 19:07:45 +02:00
parent cf712636ed
commit cabfd8a946

View File

@ -257,7 +257,7 @@ class Newsletters {
} else if($newsletter->type === Newsletter::TYPE_WELCOME) {
$newsletter
->withStatistics();
} else if($newsletter->type === Newsletter::TYPE_WELCOME) {
} else if($newsletter->type === Newsletter::TYPE_NOTIFICATION) {
$newsletter
->withSegments()
->withStatistics();