Skip to content

Commit 94d1d77

Browse files
committed
Fixed issues with the extra conditional validation helper
1 parent 5dc2106 commit 94d1d77

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

helpers/PostmasterHelper.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ class PostmasterHelper
55
{
66
public static function hasExtraConditionals($extraConditionals)
77
{
8-
if($extraConditionals && !empty(trim($extraConditionals)))
8+
$extraConditionals = trim($extraConditionals);
9+
10+
if($extraConditionals && !empty($extraConditionals))
911
{
1012
return true;
1113
}

0 commit comments

Comments
 (0)