openrat-cms

OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs | README

commit 8062113f4aa7fe2ab90d686c54fdea53c76fa8d3
parent f88e1a849d98cc10d64f03d2d12035edacdfbbc2
Author: Jan Dankert <develop@jandankert.de>
Date:   Thu,  8 Oct 2020 21:47:46 +0200

Fix: Now compatible with PHP 7.4.

Diffstat:
Mmodules/util/Less.php | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/util/Less.php b/modules/util/Less.php @@ -9737,7 +9737,7 @@ class Less_Exception_Chunk extends Less_Exception_Parser{ break; // \ case 92: - if ($this->parserCurrentIndex < $this->input_len - 1) { $this->parserCurrentIndex++; continue; } + if ($this->parserCurrentIndex < $this->input_len - 1) { $this->parserCurrentIndex++; break; } return $this->fail("unescaped `\\`"); // ", ' and ` @@ -9757,12 +9757,12 @@ class Less_Exception_Chunk extends Less_Exception_Parser{ $this->parserCurrentIndex++; } } - if ($matched) { continue; } + if ($matched) { break; } return $this->fail("unmatched `" . chr($cc) . "`", $currentChunkStartIndex); // /, check for comment case 47: - if ($parenLevel || ($this->parserCurrentIndex == $this->input_len - 1)) { continue; } + if ($parenLevel || ($this->parserCurrentIndex == $this->input_len - 1)) { break; } $cc2 = $this->CharCode($this->parserCurrentIndex+1); if ($cc2 == 47) { // //, find lnfeed