Skip to content

Commit

Permalink
Merge pull request #95 from mooore-digital/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
poespas authored Jul 26, 2022
2 parents 51c0dcb + da7336c commit 5e6b962
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.10.5] - 2022-07-26
### Fixed
- issue related to an undefined index in cronjob

## [0.10.4] - 2022-07-04
### Added
- Add meta description from post excerpt
Expand Down
2 changes: 1 addition & 1 deletion Cron/IndexBlogUrls.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function execute(): void
continue;
}

$dbPost = $dbPost[0];
$dbPost = reset($dbPost);
if ($dbPost->getSlug() !== $post['slug']) {
$urls = array_merge($urls, $this->updatePageSlug($dbPost, $post['slug']));
}
Expand Down

0 comments on commit 5e6b962

Please sign in to comment.