Skip to content

Commit 7f8e159

Browse files
committed
Fix an issue where checking and then unchecking "Suppress leading placeholder" in content filters would not work properly
(code did not properly handle @no vs nil). Issue #2511
1 parent e155d94 commit 7f8e159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/SPTableContent.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ - (NSString *)tableFilterString
11481148
[parser setArgument:[argumentField stringValue]];
11491149
[parser setFirstBetweenArgument:[firstBetweenField stringValue]];
11501150
[parser setSecondBetweenArgument:[secondBetweenField stringValue]];
1151-
[parser setSuppressLeadingTablePlaceholder:(!![filter objectForKey:@"SuppressLeadingFieldPlaceholder"])];
1151+
[parser setSuppressLeadingTablePlaceholder:[[filter objectForKey:@"SuppressLeadingFieldPlaceholder"] boolValue]];
11521152
[parser setCaseSensitive:caseSensitive];
11531153
[parser setCurrentField:[fieldField titleOfSelectedItem]];
11541154

0 commit comments

Comments
 (0)