@@ -136,7 +136,7 @@ |
||
| 136 | 136 | |
| 137 | 137 | if ($array->coreInstanceOf(FrontMatterObject::class) && !isset($array[$key])) |
| 138 | 138 | { |
| 139 | - if ($comparison == '==' && is_null($value)) { return true; } |
|
| 139 | + if ($comparison == '==' && is_null($value)) { return true; } |
|
| 140 | 140 | if ($comparison == '!=' && !is_null($value)) { return true; } |
| 141 | 141 | } |
| 142 | 142 | |
@@ -136,8 +136,12 @@ |
||
| 136 | 136 | |
| 137 | 137 | if ($array->coreInstanceOf(FrontMatterObject::class) && !isset($array[$key])) |
| 138 | 138 | { |
| 139 | - if ($comparison == '==' && is_null($value)) { return true; } |
|
| 140 | - if ($comparison == '!=' && !is_null($value)) { return true; } |
|
| 139 | + if ($comparison == '==' && is_null($value)) |
|
| 140 | + { |
|
| 141 | +return true; } |
|
| 142 | + if ($comparison == '!=' && !is_null($value)) |
|
| 143 | + { |
|
| 144 | +return true; } |
|
| 141 | 145 | } |
| 142 | 146 | |
| 143 | 147 | return false; |