Skip to content

Commit 5c86397

Browse files
Merge pull request #4 from dappur/v4.x
V4.x
2 parents 12109e4 + 7a9decd commit 5c86397

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# Changelog
22

33
## [Unreleased]
4-
- No Changes
4+
### No Changes
5+
6+
## [4.0.2] - 2019-07-14
7+
- Fixed bug in blog
58

69
## [4.0.1] - 2019-07-12
710
### Fixed

app/src/Dappurware/Blog.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(ContainerInterface $container)
2323
$this->videoProvider = null;
2424
$this->videoId = null;
2525
$this->publishAt = \Carbon\Carbon::now();
26-
$this->utils = new Dappur\Dappurware\Utils;
26+
$this->utils = new \Dappur\Dappurware\Utils;
2727
}
2828

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

9292
//Check Post
93-
$post = new \Dappur\Model\BlogPosts::find($postId);
93+
$post = new \Dappur\Model\BlogPosts;
9494
$post = $post->find($postId);
9595

9696
if (!$post) {

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "dappur/dappurware",
33
"description": "Support package for the Dappur Framework",
44
"keywords": ["dappur", "dappurware", "framework"],
5-
"version": "4.0.1",
5+
"version": "4.0.2",
66
"homepage": "https://github.com/dappur/dappurware",
77
"license": "MIT",
88
"authors": [

0 commit comments

Comments
 (0)