Commit 2cdddabc authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

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

parents 0117d090 3ccc3e54
......@@ -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