Added check as suggested by @MrPetovan for empty $message.
Added check as suggested by @MrPetovan for empty $message.

friendica/friendica,friendica/friendica,friendica/friendica,friendica/friendica,annando/friendica,annando/friendica,annando/friendica,annando/friendica,annando/friendica,friendica/friendica