diff options
author | Andrew Dolgov <[email protected]> | 2005-12-07 18:20:01 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-12-07 18:20:01 +0100 |
commit | a78ddd904707f02f7f891cbc452cc0928df6cd79 (patch) | |
tree | 3763df1ada563324d5e15fb6da7e07e7f0b96809 | |
parent | a3528a78a6903528b6844ab88020d669f3810202 (diff) |
xml-import: fix MAX_SOURCE_SCHEMA_VERSION handling
-rw-r--r-- | xml-import.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xml-import.php b/xml-import.php index d5081d64f..be3948645 100644 --- a/xml-import.php +++ b/xml-import.php @@ -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"); } |