Skip to content

Commit

Permalink
🐛 multilang
Browse files Browse the repository at this point in the history
  • Loading branch information
bnomei committed Dec 23, 2022
1 parent 6cd05f5 commit e28962e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -2,7 +2,7 @@
"name": "bnomei/kirby3-pageviewcounter",
"description": "Track Page view count and last visited timestamp",
"type": "kirby-plugin",
"version": "1.4.0",
"version": "1.4.1",
"license": "MIT",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -75,7 +75,7 @@
[
'pattern' => 'counter-pixel',
'language' => '*',
'action' => function ($language) {
'action' => function ($language = null) {
$hasUser = (option('bnomei.pageviewcounter.ignore-panel-users') && kirby()->user()) || intval(get('ignore', 0)) === 1;
if ($hasUser === false) {
\Bnomei\PageViewCounter::singleton()->increment(
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/installed.php
@@ -1,8 +1,8 @@
<?php return array(
'root' => array(
'name' => 'bnomei/kirby3-pageviewcounter',
'pretty_version' => '1.4.0',
'version' => '1.4.0.0',
'pretty_version' => '1.4.1',
'version' => '1.4.1.0',
'reference' => NULL,
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
Expand All @@ -11,8 +11,8 @@
),
'versions' => array(
'bnomei/kirby3-pageviewcounter' => array(
'pretty_version' => '1.4.0',
'version' => '1.4.0.0',
'pretty_version' => '1.4.1',
'version' => '1.4.1.0',
'reference' => NULL,
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
Expand Down

0 comments on commit e28962e

Please sign in to comment.