New Profile_prefs get a 'created' value now.
This commit is contained in:
parent
b5fd2a048f
commit
b46b588522
@ -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.');
|
||||
|
Loading…
Reference in New Issue
Block a user