mirror of
https://github.com/tecnickcom/TCPDF.git
synced 2025-03-21 14:39:40 +01:00
"Non well formed numeric value" error occurs in PHP 7
The $size variable in the SetFontSize function is supposed to be a float type, but a string can be passed in like "14px" causing an error in PHP 7. Re-casting the variable is a simple solution to fix the variable type if it was incorrectly passed in.
This commit is contained in:
parent
95c5938aaf
commit
dc6b90d65b
Loading…
x
Reference in New Issue
Block a user