Fixed error when trying to add a new change.
This commit is contained in:
parent
ec6ba3f781
commit
dba5754ccc
2 changed files with 2 additions and 2 deletions
|
@ -115,5 +115,5 @@ Template::render('manage.changelog.change', [
|
|||
'change_info_tags' => $changeTagIds,
|
||||
'change_tags' => $tagInfos,
|
||||
'change_actions' => $changeActions,
|
||||
'change_author_id' => $authInfo->getUserInfo(),
|
||||
'change_author_id' => $authInfo->getUserInfo()->getId(),
|
||||
]);
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
<button class="input__button">Save</button>
|
||||
{% if not change_new %}
|
||||
<a href="{{ url('manage-changelog-change-delete', { change: change_info.id, csrf: csrf_token() }) }}" class="input__button input__button--destroy" onclick="return confirm('Are you sure?');">Delete</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue