Skip to content

Commit d46fcd7

Browse files
committed
Trimmed extra conditional before validating
1 parent e140172 commit d46fcd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helpers/PostmasterHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ public static function hasExtraConditionals($extraConditionals)
1515

1616
public static function validateExtraConditionals($extraConditionals)
1717
{
18-
return strtolower($extraConditionals) !== 'false';
18+
return trim(strtolower($extraConditionals)) !== 'false';
1919
}
2020
}

0 commit comments

Comments
 (0)