Page MenuHomePhorge

D25196.1737188655.diff
No OneTemporary

D25196.1737188655.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
Sat, Jan 18, 08:24 (3 d, 21 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1124016
Default Alt Text
D25196.1737188655.diff (598 B)

Event Timeline