Commit 69a964a5 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Robert Lyon

Bug 1797812: show latest privacy statement in logged out privacy page

behatnotneeded

Change-Id: I163cb13a77e03fdbdf21c27bace787e104383a2f
(cherry picked from commit 3ccc3e54)
parent e4d46877
......@@ -23,7 +23,7 @@ $termscontent = get_field_sql("
FROM {site_content_version} s
WHERE s.institution = ?
AND s.type = 'termsandconditions'
ORDER BY s.version DESC
ORDER BY s.id DESC
LIMIT 1", array('mahara'));
$sections[] = array(
......@@ -38,7 +38,7 @@ $privacycontent = get_field_sql("
FROM {site_content_version} s
WHERE s.institution = ?
AND s.type = 'privacy'
ORDER BY s.version DESC
ORDER BY s.id DESC
LIMIT 1", array('mahara'));
$sections[] = array(
......
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