From 1ba7727130f8e5b60df227f7d1b8120edfc7c104 Mon Sep 17 00:00:00 2001 From: ReLater Date: Sat, 21 Jul 2018 03:06:49 +0200 Subject: [PATCH] Update HTMLHelper.php (#19770) --- libraries/src/HTML/HTMLHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/src/HTML/HTMLHelper.php b/libraries/src/HTML/HTMLHelper.php index 7930e0e2d3c68..190a45ea8f904 100644 --- a/libraries/src/HTML/HTMLHelper.php +++ b/libraries/src/HTML/HTMLHelper.php @@ -582,7 +582,7 @@ public static function image($file, $alt, $attribs = null, $relative = false, $r } // If only path is required - if ($returnPath) + if ($returnPath === 1) { return $file; }