Skip to content

Commit

Permalink
Merge pull request #58 from ticktackk/develop
Browse files Browse the repository at this point in the history
2.0.10
  • Loading branch information
ticktackk authored Mar 18, 2020
2 parents 8ead7ab + b324fa9 commit 0b8b7b5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
CHANGELOG
==========================

## 2.0.10 (`2001070`)

- **Fix:** Call to undefined method getNewTimestamp (#57)

## 2.0.9 (`2000970`)

- **Fix:** Undefined index exception thrown when using inline moderation and invalid date is set (#52)
Expand Down
2 changes: 1 addition & 1 deletion ControllerPlugin/Content.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ protected function setNewOwnerDateTimeAndInterval(AbstractService $service, /**
$newTimestamp = $ownerChangerSvc->getNewTimestamp($content);
}

if ($oldTimestamp !== $newTimestamp && !$handler->canChangeDate($content, $service->getNewTimestamp($content), $error))
if ($oldTimestamp !== $newTimestamp && !$handler->canChangeDate($content, $newTimestamp, $error))
{
throw $this->exception($this->noPermission($error));
}
Expand Down
4 changes: 2 additions & 2 deletions addon.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"legacy_addon_id": "",
"title": "Change Content Owner",
"description": "Change Content Owner is an add-on that allows you to change content owner",
"version_id": 2000970,
"version_string": "2.0.9",
"version_id": 2001070,
"version_string": "2.0.10",
"dev": "TickTackk",
"dev_url": "https://xenforo.com/community/members/batpool52.90375/",
"faq_url": "",
Expand Down

0 comments on commit 0b8b7b5

Please sign in to comment.