From: Andrew Dolgov Date: Wed, 7 Dec 2005 17:20:01 +0000 (+0100) Subject: xml-import: fix MAX_SOURCE_SCHEMA_VERSION handling X-Git-Tag: schema_freeze_for_1.1.1~88 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a78ddd904707f02f7f891cbc452cc0928df6cd79;p=tt-rss.git xml-import: fix MAX_SOURCE_SCHEMA_VERSION handling --- 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"); }