mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
Merge branch 'MDL-55565-master' of https://github.com/snake/moodle
This commit is contained in:
commit
42def6ef5c
1 changed files with 1 additions and 1 deletions
|
@ -795,7 +795,7 @@ abstract class restore_dbops {
|
|||
// Prepare the query
|
||||
list($stamp_sql, $stamp_params) = $DB->get_in_or_equal($stamps);
|
||||
list($context_sql, $context_params) = $DB->get_in_or_equal($contexts);
|
||||
$sql = "SELECT contextid
|
||||
$sql = "SELECT DISTINCT contextid
|
||||
FROM {question_categories}
|
||||
WHERE stamp $stamp_sql
|
||||
AND contextid $context_sql";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue