/// Initialise some variables
$sqlorderby = '';
+ $sqlsortkey = NULL;
/// Pivot is the field that set the break by groups (category, initial, author name, etc)
break;
case GLOSSARY_AUTHOR_VIEW:
- if (!isset($sqlsortkey)) {
- $sqlsortkey = NULL;
- }
-
$where = '';
switch ($CFG->dbtype) {
case 'postgres7':
$fullpivot = 0;
$printpivot = 0;
- if (!isset($sqlsortkey)) {
- $sqlsortkey = NULL;
- }
-
$where = '';
if ($hook != 'ALL' and $hook != 'SPECIAL') {
switch ($CFG->dbtype) {