Skip to content

Commit

Permalink
Update HaveIBeenPwnedPage.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Firesphere committed Dec 21, 2020
1 parent fc10a73 commit 835d584
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/models/HaveIBeenPwnedPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
use Page;
use SilverStripe\Security\Member;

// This page should not be instantiated if the Page class doesn't exist.
if (!class_exists('\Page')) {
return;
}

/**
* Class \Firesphere\HaveIBeenPwned\Models\HaveIBeenPwnedPage
*
Expand Down

0 comments on commit 835d584

Please sign in to comment.