mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Reverse parameter order in legacy Mail::addAttachment() for XE compatibility
This commit is contained in:
parent
2e73c6acaa
commit
19ef36728f
1 changed files with 2 additions and 2 deletions
|
|
@ -150,11 +150,11 @@ class Mail extends Rhymix\Framework\Mail
|
|||
/**
|
||||
* Add file attachment
|
||||
*
|
||||
* @param string $filename File name to attach
|
||||
* @param string $original_filename Real path of file to attach
|
||||
* @param string $filename File name to attach
|
||||
* @return void
|
||||
*/
|
||||
public function addAttachment($filename, $original_filename)
|
||||
public function addAttachment($original_filename, $filename)
|
||||
{
|
||||
return $this->attach($original_filename, $filename);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue