Created
June 3, 2011 21:01
-
-
Save steamraven/1007165 to your computer and use it in GitHub Desktop.
FileZ: Multiple email bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Fz/Controller.php b/lib/Fz/Controller.php | |
index 014266c..87804d9 100644 | |
--- a/lib/Fz/Controller.php | |
+++ b/lib/Fz/Controller.php | |
@@ -118,8 +118,8 @@ class Fz_Controller { | |
* @return Zend_Mail | |
*/ | |
protected function createMail () { | |
+ $config = fz_config_get ('email'); | |
if (self::$_mailTransportSet === false) { | |
- $config = fz_config_get ('email'); | |
$config ['name'] = 'filez'; | |
$transport = new Zend_Mail_Transport_Smtp ($config ['host'], $config); | |
Zend_Mail::setDefaultTransport ($transport); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment