From 1d620ad57b80284b183acae6276d91a6dafe45db Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 15 Oct 2021 09:37:02 +0200 Subject: [PATCH] fix PHP 8.0 ValueError: invalid specifier "n" --- lib/Horde/Compress/Tnef/File.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Horde/Compress/Tnef/File.php b/lib/Horde/Compress/Tnef/File.php index f14fb99..c94a04f 100644 --- a/lib/Horde/Compress/Tnef/File.php +++ b/lib/Horde/Compress/Tnef/File.php @@ -79,7 +79,7 @@ public function toArray() public function setTnefAttribute($attribute, $value, $size) { $this->_logger->debug(sprintf( - 'TNEF: Horde_Compress_Tnef_File::setTnefAttribute(0x%X, , %n)', + 'TNEF: Horde_Compress_Tnef_File::setTnefAttribute(0x%X, , %d)', $attribute, $size) ); switch ($attribute) { @@ -125,4 +125,4 @@ public function setMapiAttribute($type, $name, $value) } } -} \ No newline at end of file +}