--- gw/smsbox.c	2002-08-22 13:10:55.000000000 +0300
+++ gw/smsbox.c	2002-09-01 18:24:47.000000000 +0300
@@ -159,7 +159,7 @@
     
     /* Empty message?  Either ignore it or substitute the "empty"
      * warning defined  */
-    if (octstr_len(msg->sms.msgdata) == 0) {
+    if (!octstr_len(msg->sms.msgdata) && !octstr_len(msg->sms.udhdata)) {
 	if (trans != NULL && urltrans_omit_empty(trans))
             return 0;
         else
