Commit 6535ef87 authored by catch's avatar catch
Browse files

Issue #3485296 by bradjones1, alexpott, emptyvoid, longwave, sidgrafix,...

Issue #3485296 by bradjones1, alexpott, emptyvoid, longwave, sidgrafix, dmitry.korhov: Regression: Deprecation of `yaml_parser_class` setting in 10.3 breaks sites < 11.0

(cherry picked from commit 22e9e847)
parent 681dfb31
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -13,7 +13,8 @@
class Yaml extends ComponentYaml {

  public static function decode($raw) {
    if ($class = Settings::get('yaml_parser_class')) {
    $class = Settings::get('yaml_parser_class');
    if ($class && $class !== TRUE) {
      return $class::decode($raw);
    }