Skip to content

Error checking to see if $message is null

Hugo Leisink requested to merge tkcent:patch-3 into master

Created by: tkcent

Getting the following error:

count(): Parameter must be an array or an object that implements Countable line 368 in /var/www/banshee63/libraries/protocols/email.php

Using empty() will return true if any of the following conditions are met:

variable is an empty string, false, array(), NULL, “0?, 0, and an unset variable.

Merge request reports