Skip to content

Commit

Permalink
fix namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan DJ committed Mar 16, 2020
1 parent 3308208 commit cf9f15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/DMSDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ public function canCreate($member = null, $context = [])
*/
public function canEdit($member = null)
{
if (Controller::curr() instanceof DMSDocumentAdmin || Controller::curr() instanceof CMSPageEditController)
if (Controller::curr() instanceof DMSDocumentAdmin || Controller::curr() instanceof CMSPageEditController){
return parent::canEdit($member);
} else {
return false;
Expand Down

0 comments on commit cf9f15f

Please sign in to comment.