Commit e02bd34d authored by Chimo's avatar Chimo

Populate 'created' property on attention

The 'created' column in attention SQL table has NOT NULL
restriction.
parent 1c478768
......@@ -56,6 +56,7 @@ class Attention extends Managed_DataObject
$att->notice_id = $notice->getID();
$att->profile_id = $profile->getID();
$att->reason = $reason;
$att->created = common_sql_now();
$result = $att->insert();
if ($result === false) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment