hananils / kirby-tracker

Track content changes in Kirby 3
MIT License
11 stars 1 forks source link

Error on user.changeLanguage:after #2

Closed Daandelange closed 2 years ago

Daandelange commented 2 years ago

Hey, Trying out your plugin, I noticed a copy/paste mistake here, leading the panel to crash on this action. https://github.com/hananils/kirby-tracker/blob/297ed3e1f9feb634242a9274ba1ce5438a15ea22/index.php#L151 Replacing with $tracker->track('user', 'changeLanguage', $newUser, $oldUser, 'language'); obviously fixes it. :)

nilshoerrmann commented 2 years ago

Thanks @Daandelange, this should be fixed now!