From feb1305bb4af7060052aef70f9f7d68f4ada3467 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 15 Jan 2013 09:20:12 -0500
Subject: [PATCH] Resolving VUFIND-631 (Creation date not populated when
 creating new lists)

---
 module/VuFind/src/VuFind/Db/Table/UserList.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/module/VuFind/src/VuFind/Db/Table/UserList.php b/module/VuFind/src/VuFind/Db/Table/UserList.php
index 4432176803e..8b7e07bd43c 100644
--- a/module/VuFind/src/VuFind/Db/Table/UserList.php
+++ b/module/VuFind/src/VuFind/Db/Table/UserList.php
@@ -65,6 +65,7 @@ class UserList extends Gateway
         }
 
         $row = $this->createRow();
+        $row->created = date('Y-m-d h:i:s');    // force creation date
         $row->user_id = $user->id;
         return $row;
     }
-- 
GitLab