Avoid variable not assigned warning.

This commit is contained in:
Andrew McMillan 2012-03-02 08:55:09 +13:00
parent c36982c22f
commit df9a8a8911

View File

@ -388,7 +388,7 @@ class iSchedule
function sendRequest ( $address, $type, $data )
{
global $session;
if ( $this->scheduling_dkim_domain == null )
if ( empty($this->scheduling_dkim_domain) )
return false;
if ( is_array ( $address ) )
list ( $user, $domain ) = explode ( '@', $address[0] );