Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14002791
D14656.id35453.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D14656.id35453.diff
View Options
diff --git a/src/applications/phame/controller/post/PhamePostEditController.php b/src/applications/phame/controller/post/PhamePostEditController.php
--- a/src/applications/phame/controller/post/PhamePostEditController.php
+++ b/src/applications/phame/controller/post/PhamePostEditController.php
@@ -146,7 +146,7 @@
id(new AphrontFormSelectControl())
->setLabel(pht('Visibility'))
->setName('visibility')
- ->setvalue($visibility)
+ ->setValue($visibility)
->setOptions(PhameConstants::getPhamePostStatusMap()))
->appendChild(
id(new PhabricatorRemarkupControl())
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
@@ -34,7 +34,7 @@
->setBloggerPHID($blogger->getPHID())
->setBlogPHID($blog->getPHID())
->setBlog($blog)
- ->setDatePublished(0)
+ ->setDatePublished(time())
->setVisibility(PhameConstants::VISIBILITY_PUBLISHED);
return $post;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 26, 10:31 PM (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6751451
Default Alt Text
D14656.id35453.diff (1 KB)
Attached To
Mode
D14656: Fix Phame Post creation time
Attached
Detach File
Event Timeline
Log In to Comment