Skip to content

Commit

Permalink
Merge pull request #4 from dappur/v4.x
Browse files Browse the repository at this point in the history
V4.x
  • Loading branch information
edwardteach42 authored Jul 15, 2019
2 parents 12109e4 + 7a9decd commit 5c86397
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelog

## [Unreleased]
- No Changes
### No Changes

## [4.0.2] - 2019-07-14
- Fixed bug in blog

## [4.0.1] - 2019-07-12
### Fixed
Expand Down
4 changes: 2 additions & 2 deletions app/src/Dappurware/Blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function __construct(ContainerInterface $container)
$this->videoProvider = null;
$this->videoId = null;
$this->publishAt = \Carbon\Carbon::now();
$this->utils = new Dappur\Dappurware\Utils;
$this->utils = new \Dappur\Dappurware\Utils;
}

/** @SuppressWarnings(PHPMD.StaticAccess) */
Expand Down Expand Up @@ -90,7 +90,7 @@ public function updatePost($postId)
$requestParams = $this->container->request->getParams();

//Check Post
$post = new \Dappur\Model\BlogPosts::find($postId);
$post = new \Dappur\Model\BlogPosts;
$post = $post->find($postId);

if (!$post) {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "dappur/dappurware",
"description": "Support package for the Dappur Framework",
"keywords": ["dappur", "dappurware", "framework"],
"version": "4.0.1",
"version": "4.0.2",
"homepage": "https://github.com/dappur/dappurware",
"license": "MIT",
"authors": [
Expand Down

0 comments on commit 5c86397

Please sign in to comment.