We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5cca5e commit 47f34f4Copy full SHA for 47f34f4
1 file changed
lib/Less/Parser.php
@@ -1582,7 +1582,7 @@ private function parseEntitiesDimension() {
1582
static $CHARCODE_FORWARD_SLASH = 47;
1583
static $CHARCODE_PLUS = 43;
1584
static $CHARCODE_9 = 57;
1585
- $c = ord( $this->input[$this->pos] ?? '' );
+ $c = isset( $this->input[$this->pos] ) ? ord( $this->input[$this->pos] ) : 0;
1586
// Is the first char of the dimension 0-9, '.', '+' or '-'
1587
$peekNotNumeric = ( $c > $CHARCODE_9 || $c < $CHARCODE_PLUS ) || $c === $CHARCODE_FORWARD_SLASH || $c === $CHARCODE_COMMA;
1588
0 commit comments