Commit 16a4e249 authored by geophysicist's avatar geophysicist Committed by Markus Kalkbrenner
Browse files

Issue #3261980 by geophysicist, phthlaap, mkalkbrenner: Deprecated function:...

Issue #3261980 by geophysicist, phthlaap, mkalkbrenner: Deprecated function: ltrim(): Passing null to parameter #1 ($string) of type string
parent fcf18646
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -393,7 +393,7 @@ class SearchApiDisplay extends FacetSourcePluginBase implements SearchApiFacetSo
      $js_settings = [
        'view_id' => $view->id(),
        'current_display_id' => $view->current_display,
        'view_base_path' => ltrim($view->getPath(), '/'),
        'view_base_path' => ltrim($view->getPath() ?? '', '/'),
        'ajax_path' => Url::fromRoute('views.ajax')->toString(),
      ];
      $build['#attached']['library'][] = 'facets/drupal.facets.views-ajax';