diff --git a/src/applications/phame/storage/PhameBlog.php b/src/applications/phame/storage/PhameBlog.php index 95507d61dc..717658ec03 100644 --- a/src/applications/phame/storage/PhameBlog.php +++ b/src/applications/phame/storage/PhameBlog.php @@ -169,7 +169,7 @@ final class PhameBlog extends PhameDAO } public function getLiveURI() { - if (strlen($this->getDomain())) { + if (phutil_nonempty_string($this->getDomain())) { return $this->getExternalLiveURI(); } else { return $this->getInternalLiveURI();