Created
May 25, 2011 17:33
-
-
Save steamraven/991438 to your computer and use it in GitHub Desktop.
filez upload complete email patch
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/app/controllers/Upload.php b/app/controllers/Upload.php | |
index 06b99a4..935408d 100644 | |
--- a/app/controllers/Upload.php | |
+++ b/app/controllers/Upload.php | |
@@ -158,7 +158,7 @@ class App_Controller_Upload extends Fz_Controller { | |
$mail = $this->createMail(); | |
$mail->setBodyText ($msg); | |
$mail->setSubject ($subject); | |
- $mail->addTo ($user->email, $user); | |
+ $mail->addTo ($user->email, (string) $user); | |
try { | |
$mail->send (); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment