summaryrefslogtreecommitdiff
path: root/actions/subscribe.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/subscribe.php')
-rw-r--r--actions/subscribe.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/subscribe.php b/actions/subscribe.php
index 68fdd24e9..4edf3e714 100644
--- a/actions/subscribe.php
+++ b/actions/subscribe.php
@@ -48,7 +48,7 @@ class SubscribeAction extends Action {
$sub->subscriber = $user->id;
$sub->subscribed = $other->id;
- $sub->created = time();
+ $sub->created = DB_DataObject_Cast::dateTime(); # current time
if (!$sub->insert()) {
common_server_error(_t('Couldn\'t create subscription.'));