Permalink
Browse files

Importing Multibyte.

Fixes fatal errors when mbstring is not installed.
  • Loading branch information...
1 parent 72ca894 commit ce7ec44298f021631516e03210e75622eaea329a @markstory markstory committed Jun 20, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/Network/Email/CakeEmail.php
@@ -21,6 +21,7 @@
App::uses('AbstractTransport', 'Network/Email');
App::uses('String', 'Utility');
App::uses('View', 'View');
+App::import('I18n', 'Multibyte');
@majna

majna Jul 21, 2011

Contributor

already set there?

App::uses('Multibyte', 'I18n');
@majna

majna Jul 21, 2011

Contributor

Oh, it's in commit message... "mbstring not installed"

@markstory

markstory Jul 22, 2011

Owner

Yeah without mbstring installed bad things happen.

/**
* Cake e-mail class.

0 comments on commit ce7ec44

Please sign in to comment.