Skip to content

Commit

Permalink
fix: replace slug with id for nested pages #31
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricerenck committed Nov 13, 2021
1 parent 5945197 commit 074aeca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion utils/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function getPendingKomments(): array
if (($komment['status'] === 'false' || $komment['status'] === false)) {
$pendingKomments[] = [
'id' => $komment['id'],
'slug' => $item->slug(),
'slug' => $item->id(),
'author' => $komment['author'],
'komment' => $komment['komment'],
'kommentType' => (isset($komment['kommenttype'])) ? $komment['kommenttype'] : 'komment', // backward compatiblity
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php return array(
'root' => array(
'pretty_version' => '1.3.0',
'version' => '1.3.0.0',
'pretty_version' => '1.3.3',
'version' => '1.3.3.0',
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down Expand Up @@ -29,8 +29,8 @@
'dev_requirement' => false,
),
'mauricerenck/komments' => array(
'pretty_version' => '1.3.0',
'version' => '1.3.0.0',
'pretty_version' => '1.3.3',
'version' => '1.3.3.0',
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down

0 comments on commit 074aeca

Please sign in to comment.