summaryrefslogtreecommitdiff
path: root/xml-import.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-12-07 18:20:01 +0100
committerAndrew Dolgov <[email protected]>2005-12-07 18:20:01 +0100
commita78ddd904707f02f7f891cbc452cc0928df6cd79 (patch)
tree3763df1ada563324d5e15fb6da7e07e7f0b96809 /xml-import.php
parenta3528a78a6903528b6844ab88020d669f3810202 (diff)
xml-import: fix MAX_SOURCE_SCHEMA_VERSION handling
Diffstat (limited to 'xml-import.php')
-rw-r--r--xml-import.php2
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");
}