Skip to content

Commit

Permalink
Merge pull request #192 from creative-commoners/pulls/1/check-elemental
Browse files Browse the repository at this point in the history
FIX Check that elemental is installed
  • Loading branch information
GuySartorelli authored Jun 21, 2024
2 parents 3bbd075 + b63af3c commit 2ec8573
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/elemental/ElementalSearchableFieldsBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
use SilverStripe\Forms\SearchableMultiDropdownField;
use SilverStripe\FrameworkTest\Model\Company;

if (!class_exists(BaseElement::class)) {
return;
}

class ElementalSearchableFieldsBlock extends BaseElement
{
private static $table_name = 'ElementalSearchableFieldsBlock';
Expand Down

0 comments on commit 2ec8573

Please sign in to comment.