]> granicus.if.org Git - php/commitdiff
Trying to clean up the last of the body->id/body->description confusion.
authorChuck Hagenbuch <chagenbu@php.net>
Mon, 1 Nov 1999 16:44:36 +0000 (16:44 +0000)
committerChuck Hagenbuch <chagenbu@php.net>
Mon, 1 Nov 1999 16:44:36 +0000 (16:44 +0000)
ext/imap/imap.c

index 3ea87e00bb02d78fdf4f545f2f94241fe27f8171..a2cc19b609e137f9a44ad35e6195f1db8d557351 100644 (file)
@@ -2203,7 +2203,7 @@ PHP_FUNCTION(imap_bodystruct)
        }
        if ( body->id ){
                add_property_long( return_value, "ifid", 1 );
-               if(body->description) add_property_string( return_value, "id",  body->id, 1 );
+               add_property_string( return_value, "id",  body->id, 1 );
        } else {
                add_property_long( return_value, "ifid", 0 );
        }