Commit 418b3b6e authored by Eloy Lafuente's avatar Eloy Lafuente
Browse files

MDL-26414 gloosary - fix wrong init introduced by MDL-26371

parent 64529cb6
...@@ -13,6 +13,10 @@ ...@@ -13,6 +13,10 @@
$sqlsortkey = NULL; $sqlsortkey = NULL;
$textlib = textlib_get_instance(); $textlib = textlib_get_instance();
// For cases needing inner view
$sqlwrapheader = '';
$sqlwrapfooter = '';
/// Calculate the SQL sortkey to be used by the SQL statements later /// Calculate the SQL sortkey to be used by the SQL statements later
switch ( $sortkey ) { switch ( $sortkey ) {
case "CREATION": case "CREATION":
...@@ -134,9 +138,6 @@ ...@@ -134,9 +138,6 @@
default: default:
$sqlselect = "SELECT ge.*, ge.concept AS glossarypivot"; $sqlselect = "SELECT ge.*, ge.concept AS glossarypivot";
$sqlfrom = "FROM {glossary_entries} ge"; $sqlfrom = "FROM {glossary_entries} ge";
// For cases needing inner view
$sqlwrapheader = '';
$sqlwrapfooter = '';
$where = ''; $where = '';
$fullpivot = 0; $fullpivot = 0;
......
Supports Markdown
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