Page MenuHomeDevCentral

D1538.id3928.diff
No OneTemporary

D1538.id3928.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, 18:50 (20 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248551
Default Alt Text
D1538.id3928.diff (614 B)

Event Timeline