Simplify and unify getViewInBroserUrl calls

[MAILPOET-2430]
This commit is contained in:
Jan Jakeš
2020-02-04 16:02:26 +01:00
committed by Jack Kitterhing
parent e5fcf5819d
commit 923dc0d1dd
5 changed files with 5 additions and 6 deletions

View File

@@ -69,8 +69,7 @@ class NewslettersExporter {
'name' => WPFunctions::get()->__('Email preview', 'mailpoet'),
'value' => Url::getViewInBrowserUrl(
$newsletters[$statisticsRow['newsletter_id']],
$subscriber,
false
$subscriber
),
];
}