Skip to content

Commit

Permalink
Merge pull request #848 from vanilla/fix/manage-applicants-crash
Browse files Browse the repository at this point in the history
Fix the applicants form crash
  • Loading branch information
vanilla-dbarbier authored May 5, 2021
2 parents 0f03a9f 4ef470e commit bc11225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/TrollManagement/class.trollmanagement.plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 566,7 @@ public function settingsController_trollManagement_create($sender) {
public function base_applicantInfo_handler($sender, $args) {
if (c('TrollManagement.PerFingerprint.Enabled', false)) {
$maxSiblingAccounts = c('TrollManagement.PerFingerprint.MaxUserAccounts');
$userFingerprint = $args['User']['Fingerprint'] ?? '';
$userFingerprint = $args['User']->Fingerprint ?? '';
if (!empty($userFingerprint)) {
if ($this->checkMaxSharedFingerprintsExceeded($userFingerprint, $maxSiblingAccounts)) {
$sender->EventArguments['ApplicantMeta'][t("Fingerprint issue")] = sprintf(
Expand Down

0 comments on commit bc11225

Please sign in to comment.