diff --git a/lib/XRay/PostType.php b/lib/XRay/PostType.php index ed6610a..3c9dc72 100644 --- a/lib/XRay/PostType.php +++ b/lib/XRay/PostType.php @@ -59,7 +59,7 @@ class PostType { // If this processed "name" property value is NOT a prefix of the // processed "content" property, then it is an article post. - if(strpos($content, $name) === false) { + if(strpos($content, $name) !== 0) { return 'article'; }