mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageMap
synced 2024-09-23 18:28:28 +00:00
Merge "Fix imagemap_invalid_coord message"
This commit is contained in:
commit
25bc9d8700
|
@ -396,7 +396,7 @@ class ImageMap {
|
|||
$coord = strtok( " \t" );
|
||||
while ( $coord !== false ) {
|
||||
if ( !is_numeric( $coord ) || $coord > 1e9 || ( !$allowNegative && $coord < 0 ) ) {
|
||||
return self::error( 'imagemap_invalid_crd', $lineNum );
|
||||
return self::error( 'imagemap_invalid_coord', $lineNum );
|
||||
}
|
||||
$coords[] = $coord;
|
||||
$coord = strtok( " \t" );
|
||||
|
|
Loading…
Reference in a new issue