From: stronk7 Date: Thu, 20 May 2004 23:07:59 +0000 (+0000) Subject: Avoid one more notice... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=43d2c51413f02bf1023971a58908c8302ffac4b7;p=moodle.git Avoid one more notice... --- diff --git a/mod/glossary/sql.php b/mod/glossary/sql.php index cacaa0bc0c..53eb4e9310 100644 --- a/mod/glossary/sql.php +++ b/mod/glossary/sql.php @@ -124,6 +124,10 @@ $fullpivot = 0; $printpivot = 0; + if (!isset($sqlsortkey)) { + $sqlsortkey = NULL; + } + $where = ''; if ($hook != 'ALL' and $hook != 'SPECIAL') { switch ($CFG->dbtype) {