Permalink
Browse files

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

  • Loading branch information...
1 parent 64529cb commit 418b3b6e98d4f6f9db1db9e728febb8ba65b2eef @stronk7 stronk7 committed Feb 15, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 mod/glossary/sql.php
@@ -13,6 +13,10 @@
$sqlsortkey = NULL;
$textlib = textlib_get_instance();
+ // For cases needing inner view
+ $sqlwrapheader = '';
+ $sqlwrapfooter = '';
+
/// Calculate the SQL sortkey to be used by the SQL statements later
switch ( $sortkey ) {
case "CREATION":
@@ -134,9 +138,6 @@
default:
$sqlselect = "SELECT ge.*, ge.concept AS glossarypivot";
$sqlfrom = "FROM {glossary_entries} ge";
- // For cases needing inner view
- $sqlwrapheader = '';
- $sqlwrapfooter = '';
$where = '';
$fullpivot = 0;

0 comments on commit 418b3b6

Please sign in to comment.