diff options
author | Stefan Giehl <stefan@matomo.org> | 2021-11-24 22:37:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 22:37:11 +0300 |
commit | af4d6002ca0039f4ea702aa8456f7e0c1cc3746c (patch) | |
tree | a4eff4aee35b5decb9fac3e6e9ddcf525fcea841 /plugins/Events/VisitorDetails.php | |
parent | 6ddf4edf640b3ccb4f8a7a5797d2762bab1ea682 (diff) |
Further improvements for PHP 8.1 (#18330)
* Fix some PHP8.1 deprecation warnings
* another fix
* couple more fixes
* couple more fixes
* fix another warning
Diffstat (limited to 'plugins/Events/VisitorDetails.php')
-rw-r--r-- | plugins/Events/VisitorDetails.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Events/VisitorDetails.php b/plugins/Events/VisitorDetails.php index 0c0de61321..b88dc9b075 100644 --- a/plugins/Events/VisitorDetails.php +++ b/plugins/Events/VisitorDetails.php @@ -36,7 +36,7 @@ class VisitorDetails extends VisitorDetailsAbstract $action['subtitle'] .= ', ' . Piwik::translate('General_Value') . ': "' . $action['eventValue'] . '"'; } - if (strlen($action['pageTitle']) > 0) { + if (strlen(strval($action['pageTitle'])) > 0) { $action['eventName'] = $action['pageTitle']; } |