]> git.wh0rd.org Git - tt-rss.git/commitdiff
xml-import: fix MAX_SOURCE_SCHEMA_VERSION handling
authorAndrew Dolgov <fox@bah.spb.su>
Wed, 7 Dec 2005 17:20:01 +0000 (18:20 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Wed, 7 Dec 2005 17:20:01 +0000 (18:20 +0100)
xml-import.php

index d5081d64f7939050b103f5895a7162f36bffef0a..be3948645d67703433f07b9f2d8add80a4dbe9ff 100644 (file)
                                $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");
                                }