Commit 92324aae authored by mxh's avatar mxh Committed by Lee Rowlands
Browse files

Issue #3325351 by mxh: Error with PHP 8.1: Passing null to parameter #1...

Issue #3325351 by mxh: Error with PHP 8.1: Passing null to parameter #1 ($string) of type string is deprecated
parent d163db71
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ class EntityPrintPermissions implements ContainerInjectionInterface {
      foreach ($entity_type_bundles as $bundle_key => $entity_type_bundle) {
        $permissions['entity print access bundle ' . $bundle_key] = [
          'title' => $this->t('%entity_bundle_label: Use all print engines', [
            '%entity_bundle_label' => $entity_type_bundle['label'],
            '%entity_bundle_label' => $entity_type_bundle['label'] ?? $bundle_key,
          ]),
        ];
      }