We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36053ec commit cdd9f0bCopy full SHA for cdd9f0b
src/Traits/Post/PostsHaveACategory.php
@@ -17,7 +17,7 @@ public function hasCategory($category)
17
return false;
18
}
19
20
- return $category_id == $this->category->id;
+ return $category == $this->category->id;
21
22
23
public function hasAnyCategory($categories)
0 commit comments