X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FMysqlUpdater.php;h=a9ca28614dba819b3ebcaf73650c39e1bc6a2277;hb=81cbe34e4d519c62ac441197fe070709e4324304;hp=242363466beba83a63c84bc49630f70f8a521c0b;hpb=0e56ff447bbb74df007f2573725baaa61ed2745c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/MysqlUpdater.php b/includes/installer/MysqlUpdater.php index 242363466b..a9ca28614d 100644 --- a/includes/installer/MysqlUpdater.php +++ b/includes/installer/MysqlUpdater.php @@ -371,6 +371,7 @@ class MysqlUpdater extends DatabaseUpdater { 'patch-change_tag-change_tag_rc_tag_id.sql' ], [ 'addField', 'ipblocks', 'ipb_sitewide', 'patch-ipb_sitewide.sql' ], [ 'addTable', 'ipblocks_restrictions', 'patch-ipblocks_restrictions-table.sql' ], + [ 'migrateImageCommentTemp' ], ]; } @@ -601,7 +602,7 @@ class MysqlUpdater extends DatabaseUpdater { foreach ( $rows as $row ) { if ( $prev_title == $row->cur_title && $prev_namespace == $row->cur_namespace ) { - $deleteId[] = $row->cur_id; + $deleteId[] = (int)$row->cur_id; } $prev_title = $row->cur_title; $prev_namespace = $row->cur_namespace;