Skip to content

Commit

Permalink
fix: multilanguage inbox handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricerenck committed Mar 4, 2024
1 parent 178f7ee commit e51bcc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions utils/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ public function filterCommentsByStatus($inbox, $status = 'all')
// TESTED
public function getInboxByLanguage($page, $language = null)
{
if ($page->kommentsInbox()->isEmpty()) {
return null;
}

if (is_null($language)) {
return $page->kommentsInbox();
}
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php return array(
'root' => array(
'name' => 'mauricerenck/komments',
'pretty_version' => '1.13.2',
'version' => '1.13.2.0',
'pretty_version' => '2.0.1',
'version' => '2.0.1.0',
'reference' => NULL,
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
Expand All @@ -29,8 +29,8 @@
'dev_requirement' => false,
),
'mauricerenck/komments' => array(
'pretty_version' => '1.13.2',
'version' => '1.13.2.0',
'pretty_version' => '2.0.1',
'version' => '2.0.1.0',
'reference' => NULL,
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
Expand Down

0 comments on commit e51bcc9

Please sign in to comment.