fixed another error in sendmessage.php