From 3c8e021a773f00f8b3ae98ff0166576f7ce0aae7 Mon Sep 17 00:00:00 2001 From: Allan Dowdeswell Date: Fri, 17 Sep 2021 11:15:21 -0600 Subject: [PATCH] Fixed line which caused a Notice message in PHP 7.4 --- plg_jdbuilder/libraries/vendor/leafo/scssphp/src/Compiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plg_jdbuilder/libraries/vendor/leafo/scssphp/src/Compiler.php b/plg_jdbuilder/libraries/vendor/leafo/scssphp/src/Compiler.php index 60b66dc..06cf8bc 100644 --- a/plg_jdbuilder/libraries/vendor/leafo/scssphp/src/Compiler.php +++ b/plg_jdbuilder/libraries/vendor/leafo/scssphp/src/Compiler.php @@ -5227,7 +5227,7 @@ protected function libStrSlice($args) $start--; } - $end = (int) $args[2][1]; + $end = isset($args[2][1]) ? (int) $args[2][1] : null; $length = $end < 0 ? $end + 1 : ($end > 0 ? $end - $start : $end); $string[2] = $length