Skip to content

Commit

Permalink
FIX Don't cause errors if elemental isn't installed (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Jul 28, 2024
1 parent 9aada4a commit 0370f64
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/elemental/MultiElementalAreasExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
use DNADesign\Elemental\Extensions\ElementalAreasExtension;
use DNADesign\Elemental\Models\ElementalArea;

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

/**
* This is used to test multiple elemental areas on a page
*/
Expand Down

0 comments on commit 0370f64

Please sign in to comment.