Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
418b3b6e
Commit
418b3b6e
authored
Feb 15, 2011
by
Eloy Lafuente
Browse files
MDL-26414 gloosary - fix wrong init introduced by MDL-26371
parent
64529cb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
mod/glossary/sql.php
View file @
418b3b6e
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment