xml-import: fix MAX_SOURCE_SCHEMA_VERSION handling

This commit is contained in:
Andrew Dolgov 2005-12-07 18:20:01 +01:00
parent a3528a78a6
commit a78ddd9047
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@
$schema_version = $root->get_elements_by_tagname('schema_version');
$schema_version = $schema_version[0]->get_content();
if ($schema_version != MAX_SOURCE_SCHEMA_VERSION) {
if ($schema_version > MAX_SOURCE_SCHEMA_VERSION) {
die("Incorrect source schema version");
}