From: Vincent Vanwaelscappel Date: Wed, 7 Jan 2026 11:49:19 +0000 (+0100) Subject: wip #7871 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=e47370d7d7da9e44de2385af1f4785d031a32aa3;p=fluidbook_tools.git wip #7871 @0.25 --- 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;