Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #1575: Allow disabled text formats to be enabled again. #2821

Closed
wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Aug 15, 2019

@backdrop-ci
Copy link
Collaborator

Related to: backdrop/backdrop-issues#1575

@backdrop-ci
Copy link
Collaborator

Website: http://2821.backdrop.backdrop.qa.backdropcms.org
Username: admin
Password: PJhvDQCH

@@ -725,8 +739,7 @@ function filter_formats($account = NULL) {
);
$filter_format = (object) $filter_format;

// We don't include disabled formats.
if (!$filter_format->status) {
if (!$include_disabled && !$filter_format->status) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be an OR instead?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, that'd mean all formats get ignored when $include_disabled is FALSE...

@herbdool
Copy link
Contributor

herbdool commented Sep 7, 2019

Replaced by #2846

@herbdool herbdool closed this Sep 7, 2019
@backdrop-ci
Copy link
Collaborator

Website: http://2821.backdrop.backdrop.qa.backdropcms.org Removed

@ghost ghost deleted the issue-1575 branch February 25, 2022 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants