From: Mikael Nordfeldth <mmn@hethane.se>
Date: Sun, 13 Jul 2014 15:09:18 +0000 (+0200)
Subject: New Profile_prefs get a 'created' value now.
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b46b5885227263785e0e6bb9b53c13680db348a5;p=quix0rs-gnu-social.git

New Profile_prefs get a 'created' value now.
---

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.');