Skip to content

Commit

Permalink
Gossary: complement to Fix load glossary from base course if not foun…
Browse files Browse the repository at this point in the history
…d in session - refs BT#22235 BT#22110
  • Loading branch information
NicoDucou committed Dec 30, 2024
1 parent 3745aba commit 8f92e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/inc/lib/glossary.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public static function get_glossary_term_by_glossary_name($name)
name LIKE '".Database::escape_string($glossaryName)."' OR
name LIKE '".Database::escape_string($parsed)."'
) AND
session_id IS NULL
(session_id IS NULL OR session_id = 0)
LIMIT 1";

$rs = Database::query($sql);
Expand Down

0 comments on commit 8f92e15

Please sign in to comment.