Page MenuHomePhorge

D25196.1734975312.diff
No OneTemporary

D25196.1734975312.diff

diff --git a/src/applications/phame/storage/PhamePost.php b/src/applications/phame/storage/PhamePost.php
--- a/src/applications/phame/storage/PhamePost.php
+++ b/src/applications/phame/storage/PhamePost.php
@@ -67,7 +67,8 @@
$blog = $this->getBlog();
$is_draft = $this->isDraft();
$is_archived = $this->isArchived();
- if (strlen($blog->getDomain()) && !$is_draft && !$is_archived) {
+ if (phutil_nonempty_string($blog->getDomain()) &&
+ !$is_draft && !$is_archived) {
return $this->getExternalLiveURI();
} else {
return $this->getInternalLiveURI();

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 17:35 (18 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1027127
Default Alt Text
D25196.1734975312.diff (598 B)

Event Timeline