diff --git a/classes/Profile_prefs.php b/classes/Profile_prefs.php index 32da3b11b8..ee0fa0e27c 100644 --- a/classes/Profile_prefs.php +++ b/classes/Profile_prefs.php @@ -168,6 +168,7 @@ class Profile_prefs extends Managed_DataObject $pref->namespace = $namespace; $pref->topic = $topic; $pref->data = $data; + $pref->created = common_sql_now(); if ($pref->insert() === false) { throw new ServerException('Could not save profile preference.');