Commit 628de2bf authored by Eloy Lafuente's avatar Eloy Lafuente
Browse files

MDL-69092 mod_lti: SQL fix for cross-db

parent 1bdb9caf
......@@ -3158,7 +3158,7 @@ function lti_get_lti_types_and_proxies_count(bool $orphanedonly = false, int $to
$proxiessql = helper::get_tool_proxy_sql($orphanedonly, true);
$countsql = "SELECT ($typessql) + ($proxiessql) as total";
$countsql = "SELECT ($typessql) + ($proxiessql) as total" . $DB->sql_null_from_clause();
return $DB->count_records_sql($countsql, $typesparams);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment