diff --git a/Herbert/Framework/Enqueue.php b/Herbert/Framework/Enqueue.php index 160a960..c0cf67a 100644 --- a/Herbert/Framework/Enqueue.php +++ b/Herbert/Framework/Enqueue.php @@ -327,7 +327,7 @@ public function filterSearch($attrs, $filterWith) */ public function filterPostType($attrs, $filterWith) { - return array_search(get_post_type(), $filterWith) !== null; + return array_search(get_post_type(), $filterWith) !== FALSE; } }