From b46b5885227263785e0e6bb9b53c13680db348a5 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sun, 13 Jul 2014 17:09:18 +0200 Subject: [PATCH] New Profile_prefs get a 'created' value now. --- classes/Profile_prefs.php | 1 + 1 file changed, 1 insertion(+) 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.');