Skip to content

Commit

Permalink
fix: corrected check if user tracking is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed May 1, 2024
1 parent 42a11dc commit 74f2a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpmyfaq/src/phpMyFAQ/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ private function getBotIgnoreList(): array
*/
public function userTracking(string $action, int|string $data = null): void
{
if ($this->configuration->get('main.enableUserTracking')) {
if (!$this->configuration->get('main.enableUserTracking')) {
return;
}

Expand Down

0 comments on commit 74f2a54

Please sign in to comment.