Skip to content

Commit

Permalink
Handle 0.ctp template name
Browse files Browse the repository at this point in the history
  • Loading branch information
jadb committed Jun 27, 2015
1 parent 58275ff commit a11a103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mailer/Mailer.php
Expand Up @@ -226,7 +226,7 @@ public function send($action, $args = [], $headers = [])

call_user_func_array([$this, $action], $args);

if (empty($this->template)) {
if ($this->template === null) {
$this->template = $action;
}

Expand Down

0 comments on commit a11a103

Please sign in to comment.