summaryrefslogtreecommitdiff
path: root/Postman/Postman-Mail
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/Postman-Mail')
-rw-r--r--Postman/Postman-Mail/PostmanMailgunTransport.php6
-rw-r--r--Postman/Postman-Mail/PostmanModuleTransport.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/Postman/Postman-Mail/PostmanMailgunTransport.php b/Postman/Postman-Mail/PostmanMailgunTransport.php
index a673e01..63173db 100644
--- a/Postman/Postman-Mail/PostmanMailgunTransport.php
+++ b/Postman/Postman-Mail/PostmanMailgunTransport.php
@@ -154,9 +154,9 @@ class PostmanMailgunTransport extends PostmanAbstractModuleTransport implements
// push the authentication options into the $overrideItem structure
$overrideItem ['auth_items'] = array(
array(
- 'selected' => true,
- 'name' => __( 'API Key', 'post-smtp' ),
- 'value' => 'api_key',
+ 'selected' => true,
+ 'name' => __( 'API Key', 'post-smtp' ),
+ 'value' => 'api_key',
),
);
return $overrideItem;
diff --git a/Postman/Postman-Mail/PostmanModuleTransport.php b/Postman/Postman-Mail/PostmanModuleTransport.php
index 37d692d..12d3d17 100644
--- a/Postman/Postman-Mail/PostmanModuleTransport.php
+++ b/Postman/Postman-Mail/PostmanModuleTransport.php
@@ -78,7 +78,7 @@ abstract class PostmanAbstractModuleTransport implements PostmanModuleTransport
/**
*/
- public function __construct($rootPluginFilenameAndPath) {
+ public function __construct($rootPluginFilenameAndPath = null) {
$this->logger = new PostmanLogger ( get_class ( $this ) );
$this->options = PostmanOptions::getInstance ();
$this->rootPluginFilenameAndPath = $rootPluginFilenameAndPath;