From e47370d7d7da9e44de2385af1f4785d031a32aa3 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 7 Jan 2026 12:49:19 +0100 Subject: [PATCH] wip #7871 @0.25 --- src/Links/PDFFormPopupLink.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Links/PDFFormPopupLink.php b/src/Links/PDFFormPopupLink.php index 8412ef0..8053f50 100644 --- a/src/Links/PDFFormPopupLink.php +++ b/src/Links/PDFFormPopupLink.php @@ -4,6 +4,7 @@ namespace Fluidbook\Tools\Links; use Cubist\Util\Graphics\Image; use Cubist\PDF\PDFTools; +use Cubist\Util\Text; class PDFFormPopupLink extends PDFPopupLink { @@ -17,7 +18,7 @@ class PDFFormPopupLink extends PDFPopupLink protected function _getPDFInfos() { $res = parent::_getPDFInfos(); - $res['recipient'] = $this->target; + $res['recipient'] = Text::isEmail($this->target) ? $this->target : ''; $res['name'] = $this->name; return $res; -- 2.39.5