diff --git a/htdocs/legal.php b/htdocs/legal.php index 30cd09de45b96ae9df6016d393b93ad0df2cbe6f..36d6f4144b5a3d2a4241a3ebf1ab462e02fdbfcd 100644 --- a/htdocs/legal.php +++ b/htdocs/legal.php @@ -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(