Skip to content

Commit

Permalink
fix(crumb): Fix error for subpages: Attempt to read property "ID" on …
Browse files Browse the repository at this point in the history
…int (#14)
  • Loading branch information
ouun authored Aug 4, 2023
1 parent 83d81f3 commit 52d99c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Crumb.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function build()
$this->add(
get_the_title($item),
get_permalink($item),
$item->ID
$item
);
});
}
Expand Down

0 comments on commit 52d99c7

Please sign in to comment.