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