Commit 9ed9a632 authored by Yuliya Bozhko's avatar Yuliya Bozhko

SQL error in ORDER BY clause in get_artefactchooser_artefacts (Bug #1416147)

Change-Id: I3b94130c605592ef22e1d5d30f038d3aafe1e03a
Signed-off-by: default avatarYuliya Bozhko <yuliya.bozhko@totaralms.com>
parent 1ce861ab
......@@ -3251,7 +3251,7 @@ class View {
}
if (empty($sortorder)) {
$sortorder .= 'ORDER BY ';
$sortorder .= ' ORDER BY ';
}
else {
$sortorder .= ', ';
......
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