mirror of
https://github.com/php/php-src.git
synced 2026-04-02 21:52:36 +02:00
Trying to clean up the last of the body->id/body->description confusion.
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user