mirror of
https://github.com/tecnickcom/TCPDF.git
synced 2025-03-21 14:39:40 +01:00
file_get_contents
return value should also be checked for a non-empty string
This commit is contained in:
parent
756908329d
commit
d144ad0078
@ -1929,7 +1929,7 @@ class TCPDF_STATIC {
|
||||
continue;
|
||||
}
|
||||
$ret = @file_get_contents($path);
|
||||
if ($ret !== false) {
|
||||
if ( $ret != false ) {
|
||||
return $ret;
|
||||
}
|
||||
// try to use CURL for URLs
|
||||
|
Loading…
x
Reference in New Issue
Block a user