Completed
Push — device-groups ( bd1023...7084dc )
by Tony
03:41
created
app/Models/DeviceGroup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -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.