summaryrefslogtreecommitdiff
path: root/ext/imap/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/imap/imap.c')
-rw-r--r--ext/imap/imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/imap/imap.c b/ext/imap/imap.c
index 3ea87e00bb..a2cc19b609 100644
--- a/ext/imap/imap.c
+++ b/ext/imap/imap.c
@@ -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 );
}