From 6bf8e8cb6b91b6e9f695dc662bdef7c373b689c9 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Mon, 25 Jul 2011 12:51:08 -0500 Subject: [PATCH] UserIDPacket body --- lib/openpgp.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/openpgp.php b/lib/openpgp.php index 39f9bbf..ff5dcc9 100644 --- a/lib/openpgp.php +++ b/lib/openpgp.php @@ -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 + } } /**