Merge commit 'refs/merge-requests/37' of https://gitorious.org/social/mainline into merge-requests/37

This commit is contained in:
Mikael Nordfeldth 2015-02-08 23:21:28 +01:00
commit 3a41dc4610

View File

@ -56,6 +56,7 @@ class Attention extends Managed_DataObject
$att->notice_id = $notice->getID(); $att->notice_id = $notice->getID();
$att->profile_id = $profile->getID(); $att->profile_id = $profile->getID();
$att->reason = $reason; $att->reason = $reason;
$att->created = common_sql_now();
$result = $att->insert(); $result = $att->insert();
if ($result === false) { if ($result === false) {