If the page has no differences in any slot, the method is incorrectly
returning "true" to claim there are differences in some non-main slot.
Follows up Ifdf9bc9d884844f9ffeb8019d9b13d5737862063.
Bug: T194412
Change-Id: I013bcd9c39d05d9af47c1a29026b14d27af2db15
$bSlots = $b->getRevisionRecord()->getSlots();
$changedRoles = $aSlots->getRolesWithDifferentContent( $bSlots );
- return ( $changedRoles !== [ 'main' ] );
+ return ( $changedRoles !== [ 'main' ] && $changedRoles !== [] );
}
/**