|
@@ -177,7 +177,7 @@ |
|
|
block discarded – undo |
|
177
|
177
|
} |
|
178
|
178
|
|
|
179
|
179
|
foreach (Settings::get('alert.macros.group', []) as $macro => $value) { |
|
180
|
|
- $value = str_replace(['%', '&&', '||'], ['', 'AND', 'OR'], $value); // this might need something more complex |
|
|
180
|
+ $value = str_replace(['%', '&&', '||'], ['', 'AND', 'OR'], $value); // this might need something more complex |
|
181
|
181
|
if (!str_contains($macro, ' ')) { |
|
182
|
182
|
$pattern = str_replace('macros.'.$macro, '('.$value.')', $pattern); |
|
183
|
183
|
} |
Please login to merge, or discard this patch.