From d144ad00785d30888a9886ad23128fd0bd351691 Mon Sep 17 00:00:00 2001 From: Erich Munz Date: Wed, 28 Aug 2019 11:44:18 +0200 Subject: [PATCH] file_get_contents return value should also be checked for a non-empty string --- include/tcpdf_static.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tcpdf_static.php b/include/tcpdf_static.php index 49bbe0b..bfea16f 100644 --- a/include/tcpdf_static.php +++ b/include/tcpdf_static.php @@ -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