Commit: 8b045d387ea581d83f01ead1d44910b55eae17ff Author: Anatol Belski <a...@php.net> Sat, 28 Sep 2013 01:12:59 +0200 Parents: d038684673c4f99e7d52c6c7ebfa1082351baefb Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=8b045d387ea581d83f01ead1d44910b55eae17ff Log: light mailing fixes Changed paths: M client/include/PeclMail.php M client/script/pecl.php Diff: diff --git a/client/include/PeclMail.php b/client/include/PeclMail.php index 94a6245..2b93fc0 100644 --- a/client/include/PeclMail.php +++ b/client/include/PeclMail.php @@ -76,11 +76,11 @@ class PeclMail { } $text = "$open\n\n" . $this->buffer['text'] . "\n\n$close"; - $att = $with_attachment ? $this->buffer['attachment'] : array(); + $attachment = $with_attachment ? $this->buffer['attachment'] : array(); $this->aggregated_sent = true; - return xmail($from, $to, $subject, $text, $this->buffer['attachment']); + return xmail($from, $to, $subject, $text, $attachment); } public function setFrom($from) diff --git a/client/script/pecl.php b/client/script/pecl.php index 99db173..032e9a6 100644 --- a/client/script/pecl.php +++ b/client/script/pecl.php @@ -425,6 +425,7 @@ if ($is_last_run) { $open .= "Build type: " . ($is_snap ? 'snapshot' : 'release') . "\n\n"; $open .= "For each build combination and status please refer to the list below."; + $close = ""; if ($upload) { $close = "Upload status: "; if ($upload_success) { -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php