Permalink
Browse files

Updated email config call for 3.2.

  • Loading branch information...
1 parent 32ca8af commit ea91982c5e6b48ba829fb6a818e19a609abfeecd Andrew Ellis committed Jul 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/kohana/email.php
View
@@ -28,7 +28,7 @@ public static function mailer()
if ( ! Email::$_mailer)
{
// Load email configuration, make sure minimum defaults are set
- $config = Kohana::config('email')->as_array() + array(
+ $config = Kohana::$config->load('email')->as_array() + array(
'driver' => 'native',
'options' => array(),
);

0 comments on commit ea91982

Please sign in to comment.