Add ctime if needing to insert view_access row for profile (bug 1265696)
authorRobert Lyon <robertl@catalyst.net.nz>
Sun, 5 Jan 2014 19:30:27 +0000 (08:30 +1300)
committerRobert Lyon <robertl@catalyst.net.nz>
Wed, 8 Jan 2014 19:13:24 +0000 (08:13 +1300)
commitcb1d3bc8fa9c1168f90d06b92be1fb59d21334f2
tree586f60a829c5e0c639f1a5afa1249b6e718d127a
parent39d83f370b13594261667f8bcc0e98e2dbca7d79
Add ctime if needing to insert view_access row for profile (bug 1265696)

When forcing the 'Logged-in profile access' for profile page and the
view_access row does not exist we need to set the ctime.

See bug for test scenario.

Change-Id: I050c4091780637d9819a8422b79231b256097951
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
htdocs/lib/view.php