Skip to content

Commit

Permalink
fix conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
jclausen committed Jan 13, 2025
1 parent 40d82a6 commit 034bba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/contentbox/models/content/BaseContent.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ component
* Verify if this content object has an active version with content
*/
boolean function hasActiveContent(){
return !isLoaded() || !hasActiveContentVersion();
return isLoaded() && hasActiveContentVersion();
}

/**
Expand Down

0 comments on commit 034bba2

Please sign in to comment.