Skip to content

Commit 927a663

Browse files
committed
supress output from notifications that would prevent header sending
1 parent 9582eff commit 927a663

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/SolidNotifications.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ public function __construct() {
1717
}
1818

1919
public function send($path, $type) {
20+
ob_start();
2021
foreach ($this->notifications as $notification) {
2122
$notification->send($path, $type);
2223
}
24+
ob_end_clean();
2325
}
2426
}

0 commit comments

Comments
 (0)