Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,15 +181,16 @@ public function small(string $message = null) : Mail
*
* @param string $message
* @param string $link
* @param string $align
* @param string $class
* @return Mail
*/
public function action(string $message, string $link, string $class = 'btn btn-primary') : Mail
public function action(string $message, string $link, string $align = 'left', string $class = 'btn btn-primary') : Mail
{
$this->body .= "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"{$class}\">
<tbody>
<tr>
<td align=\"left\">
<td align=\"{$align}\">
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tbody>
<tr>
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "modulusphp/utility",
"description": "Utility component for modulusPHP",
"version": "1.9.4.2",
"description": "Utility component for Modulus",
"version": "1.9.4.3",
"license": "MIT",
"type": "package",
"authors": [{
Expand Down