Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15388825
D14915.id36041.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
740 B
Referenced Files
None
Subscribers
None
D14915.id36041.diff
View Options
diff --git a/src/applications/phame/editor/PhameBlogEditor.php b/src/applications/phame/editor/PhameBlogEditor.php
--- a/src/applications/phame/editor/PhameBlogEditor.php
+++ b/src/applications/phame/editor/PhameBlogEditor.php
@@ -47,9 +47,14 @@
switch ($xaction->getTransactionType()) {
case PhameBlogTransaction::TYPE_NAME:
case PhameBlogTransaction::TYPE_DESCRIPTION:
- case PhameBlogTransaction::TYPE_DOMAIN:
case PhameBlogTransaction::TYPE_STATUS:
return $xaction->getNewValue();
+ case PhameBlogTransaction::TYPE_DOMAIN:
+ $domain = $xaction->getNewValue();
+ if (!strlen($xaction->getNewValue())) {
+ return null;
+ }
+ return $domain;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 16, 4:27 AM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7513034
Default Alt Text
D14915.id36041.diff (740 B)
Attached To
Mode
D14915: Drop domain key on PhameBlog
Attached
Detach File
Event Timeline
Log In to Comment