file_get_contents

return value should also be checked for a non-empty string
This commit is contained in:
Erich Munz 2019-08-28 11:44:18 +02:00 committed by GitHub
parent 756908329d
commit d144ad0078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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