UserIDPacket body
This commit is contained in:
parent
c2c934fa6a
commit
6bf8e8cb6b
@ -1249,6 +1249,10 @@ class OpenPGP_UserIDPacket extends OpenPGP_Packet {
|
||||
if ($this->email) { $text[] = "<{$this->email}>"; }
|
||||
return implode(' ', $text);
|
||||
}
|
||||
|
||||
function body() {
|
||||
return ''.$this; // Convert to string is the body
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user