Skip to content

Commit

Permalink
Fix chunk option when using category name property
Browse files Browse the repository at this point in the history
Signed-off-by: matdave <[email protected]>
  • Loading branch information
matdave committed Nov 5, 2024
1 parent 03aa3d1 commit 1479d6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function process()
if (is_numeric($cat)) {
$catArr[] = $cat;
} else {
$obj = $this->modx->getObject($this->categoryClass, ['name' => $cat]);
$obj = $this->modx->getObject($this->categoryClass, ['category' => $cat]);
if (!empty($obj)) {
$catArr[] = $obj->get('id');
}
Expand Down

0 comments on commit 1479d6e

Please sign in to comment.