This commit is contained in:
Kevin R
2025-12-07 21:47:41 +01:00
parent dc23257632
commit 9cf1704100

View File

@@ -447,7 +447,7 @@ function start() {
*/
this.getRules = function () {
let source = enabled_rules;
if (storage.referralMarketing) {
if (!storage.referralMarketing) {
// Determine if we need to merge referral marketing rules
// We use a new object to avoid mutating enabled_rules via Object.assign if that was happening
source = Object.assign({}, enabled_rules, enabled_referralMarketing);