We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9fa7bb commit f7b067dCopy full SHA for f7b067d
db/upgrade.php
@@ -1027,10 +1027,11 @@ function xmldb_zoom_upgrade($oldversion) {
1027
if ($oldversion < 2025062600) {
1028
// Define the SQL query to fix the inconsistent casing in the customlang stringid.
1029
$sql = "UPDATE {tool_customlang} tc
1030
- JOIN {tool_customlang_components} tcc ON tc.componentid = tcc.id
1031
- SET tc.stringid = :newstringid
1032
- WHERE tcc.name = :componentname
1033
- AND tc.stringid = :oldstringid";
+ SET stringid = :newstringid
+ WHERE tc.stringid = :oldstringid
+ AND tc.componentid in (SELECT tcc.id
+ FROM {tool_customlang_components} tcc
1034
+ WHERE tcc.name = :componentname)";
1035
1036
$params = [
1037
'newstringid' => 'calendardescriptionurl',
0 commit comments