summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/twitapifriendships.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php
index 5d3bde8e9..eaef6966c 100644
--- a/actions/twitapifriendships.php
+++ b/actions/twitapifriendships.php
@@ -50,7 +50,8 @@ class TwitapifriendshipsAction extends TwitterapiAction {
$sub->subscriber = $user->id;
$sub->subscribed = $other->id;
-
+ $sub->created = DB_DataObject_Cast::dateTime(); # current time
+
$result = $sub->insert();
if (!$result) {