Skip to content

Commit 8895fc6

Browse files
committed
small bug fix after code refactor
1 parent 0040822 commit 8895fc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Email.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ public function getError()
222222
*/
223223
public function hasCc()
224224
{
225-
return !is_null($this->cc);
225+
return strlen($this->getOriginal('cc')) > 0;
226226
}
227227

228228
/**
@@ -232,7 +232,7 @@ public function hasCc()
232232
*/
233233
public function hasBcc()
234234
{
235-
return !is_null($this->bcc);
235+
return strlen($this->getOriginal('bcc')) > 0;
236236
}
237237

238238
/**

0 commit comments

Comments
 (0)