Skip to content

Commit

Permalink
[K6.4] Use get() on KunenaConfig will make an error #9798
Browse files Browse the repository at this point in the history
  • Loading branch information
xillibit committed Jan 12, 2025
1 parent 9d3c95a commit 9ffb12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libraries/kunena/src/Access/KunenaAccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ public function getSubscribers($catid, $topic, $type = false, $moderators = fals
$query->where("u.id IN ({$userlist})");

// Only send to users whose Joomla account is enabled to Receive System Emails
if (KunenaConfig::getInstance()->get('useSystemEmails')) {
if (KunenaConfig::getInstance()->useSystemEmails) {
$query->where("u.sendEmail = 1");
}

Expand Down

0 comments on commit 9ffb12c

Please sign in to comment.