Browse Source

fix white screen when block is empty

main
Paul Pound 2 years ago
parent
commit
ff0d8efced
  1. 2
      src/Plugin/Block/ReserveBlock.php

2
src/Plugin/Block/ReserveBlock.php

@ -21,7 +21,7 @@ class ReserveBlock extends BlockBase {
public function build() {
$html = $this->getReserves();
if (empty($html)) {
return '';
return [];
}
return [

Loading…
Cancel
Save