]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
New Profile_prefs get a 'created' value now.
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 13 Jul 2014 15:09:18 +0000 (17:09 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 13 Jul 2014 15:09:18 +0000 (17:09 +0200)
classes/Profile_prefs.php

index 32da3b11b854da062c3de473b73db7da54b32531..ee0fa0e27cce09c96a5e2d568a9c9558397bf518 100644 (file)
@@ -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.');