diff options
| author | winter | 2025-01-13 18:06:05 +0000 |
|---|---|---|
| committer | winter | 2025-01-13 18:06:05 +0000 |
| commit | fb9efd9f4682f528b1832622d192b9b5544584a9 (patch) | |
| tree | 5d55870b8bb8910183fc7b35220e9ae3f83999d3 /Digitigrade/Model/PushableModel.php | |
| parent | 765bf9729cc31b7ff552922c6363373f218c1f24 (diff) | |
make the interaction buttons actually work
Diffstat (limited to 'Digitigrade/Model/PushableModel.php')
| -rw-r--r-- | Digitigrade/Model/PushableModel.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Digitigrade/Model/PushableModel.php b/Digitigrade/Model/PushableModel.php index 9de3507..4df90c8 100644 --- a/Digitigrade/Model/PushableModel.php +++ b/Digitigrade/Model/PushableModel.php @@ -40,6 +40,8 @@ abstract class PushableModel extends FetchableModel implements \JsonSerializable */ public function publish() { foreach ($this->getRelevantServers() as $instance) { + if ($instance == null) // really this should not happen but i'm lazy so it might + continue; (new PushObject($this, $instance))->submit(); } } |
