Page MenuHomeDevCentral

D1538.id3927.diff
No OneTemporary

D1538.id3927.diff

diff --git a/app/Analyzers/GitHub/Events/RepositoryEvent.php b/app/Analyzers/GitHub/Events/RepositoryEvent.php
--- a/app/Analyzers/GitHub/Events/RepositoryEvent.php
+++ b/app/Analyzers/GitHub/Events/RepositoryEvent.php
@@ -46,7 +46,8 @@
$message .= trans('GitHub.EventsDescriptions.RepositoryEventFork');
}
- if ($description = $this->payload->repository->description) {
+ $description = (string)$this->payload->repository->description;
+ if ($description !== "") {
$message .= trans('GitHub.Separator');
$message .= $description;
}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 02:36 (9 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248551
Default Alt Text
D1538.id3927.diff (614 B)

Event Timeline