Fixed missing variable notice

This commit is contained in:
Alexander Nell 2020-02-25 19:37:17 +01:00
parent 6eff76b3cf
commit ef5fdcc53c

View File

@ -372,6 +372,7 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
$improvement = 'improved the';
}
$notifyName = '';
$notifyOnlyBestRecordsPrivate = $this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_NOTIFY_BEST_RECORDS_PRIVATE);
$notifyOnlyBestRecordsPublic = $this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_NOTIFY_BEST_RECORDS_PUBLIC);
if ($newRecord->rank <= $notifyOnlyBestRecordsPublic) {