Commit 1610a708 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix fatal error on share tab for views with a startdate and no stopdate


Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 41bfd1f3
......@@ -3655,7 +3655,7 @@ class View {
);
}
else if ($r->startdate) {
$data[$newkey] = get_string(
$data[$newkey]['access'] = get_string(
'accessfromdate2', 'view',
format_date(strtotime($r->startdate), 'strftimedate')
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment