Revision: 102
http://sourceforge.net/p/beeframework/code/102
Author: m_plomer
Date: 2013-10-15 17:28:55 +0000 (Tue, 15 Oct 2013)
Log Message:
-----------
- extracted PhpMailerWrapper base class out of SmartyMailer as a base class for PHPMailer based classes
- added smarty and phpmailer as require-dev dependencies
Modified Paths:
--------------
trunk/framework/Bee/Utils/PhpMailerWrapper.php
Modified: trunk/framework/Bee/Utils/PhpMailerWrapper.php
===================================================================
--- trunk/framework/Bee/Utils/PhpMailerWrapper.php 2013-10-15 17:19:03 UTC (rev 101)
+++ trunk/framework/Bee/Utils/PhpMailerWrapper.php 2013-10-15 17:28:55 UTC (rev 102)
@@ -295,7 +295,7 @@
// SET RECIPIENT
- if (is_null($recipient)) {
+ if (!$recipient) {
$recipient = array();
$recipient['address'] = $this->getDefaultRecipientAddress();
$recipient['name'] = $this->getDefaultRecipientName();
@@ -321,7 +321,7 @@
// SET SENDER
- if (is_null($sender)) {
+ if (!$sender) {
$sender = array();
$sender['address'] = $this->getDefaultSenderAddress();
$sender['name'] = $this->getDefaultSenderName();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|