Skip to content

Commit

Permalink
Merge pull request #3 from EGroupware/php8-sprintf-fix
Browse files Browse the repository at this point in the history
fix PHP 8.0 ValueError: invalid specifier "n"
  • Loading branch information
mrubinsk committed Oct 24, 2021
2 parents 101e5d2 + 1d620ad commit 564b71c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Horde/Compress/Tnef/File.php
Expand Up @@ -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, <value>, %n)',
'TNEF: Horde_Compress_Tnef_File::setTnefAttribute(0x%X, <value>, %d)',
$attribute, $size)
);
switch ($attribute) {
Expand Down Expand Up @@ -125,4 +125,4 @@ public function setMapiAttribute($type, $name, $value)
}
}

}
}

0 comments on commit 564b71c

Please sign in to comment.