From a78ddd904707f02f7f891cbc452cc0928df6cd79 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 7 Dec 2005 18:20:01 +0100 Subject: [PATCH] xml-import: fix MAX_SOURCE_SCHEMA_VERSION handling --- xml-import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml-import.php b/xml-import.php index d5081d64..be394864 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"); } -- 2.39.5