Index: trunk/phase3/includes/MessageBlobStore.php |
— | — | @@ -340,7 +340,7 @@ |
341 | 341 | } |
342 | 342 | // Update the module's blobs if the set of messages changed or if the blob is |
343 | 343 | // older than $wgCacheEpoch |
344 | | - if ( array_keys( FormatJson::decode( $row->mr_blob, true ) ) !== $module->getMessages() || |
| 344 | + if ( array_keys( FormatJson::decode( $row->mr_blob, true ) ) !== array_values( array_unique( $module->getMessages() ) ) || |
345 | 345 | wfTimestamp( TS_MW, $row->mr_timestamp ) <= $wgCacheEpoch ) { |
346 | 346 | $retval[$row->mr_resource] = self::updateModule( $row->mr_resource, $module, $lang ); |
347 | 347 | } else { |