Added sample test case for travis
This commit is contained in:
@@ -242,7 +242,7 @@ class PhpMailController extends Controller
|
||||
}
|
||||
|
||||
// $mail->addBCC($bc);
|
||||
$size = count($attach);
|
||||
$size = ($attach) ? count($attach) : 0;
|
||||
if ($size > 0) {
|
||||
for ($i = 0; $i < $size; $i++) {
|
||||
if (is_array($attach) && array_key_exists($i, $attach)) {
|
||||
|
Reference in New Issue
Block a user