diff options
author | Andrew Dolgov <[email protected]> | 2005-12-29 19:08:12 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-12-29 19:08:12 +0100 |
commit | eadcf397db297594d807604a504f90ec3abeac16 (patch) | |
tree | 229667d987dd0abf19b954bf5698ad9c9d28231c | |
parent | 4f17b5f973c2bbd8606a624bc82e4fca3e118e26 (diff) |
allow xml i/e tools use schema v4: take two
-rw-r--r-- | xml-export.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xml-export.php b/xml-export.php index 32b0004d6..620331fba 100644 --- a/xml-export.php +++ b/xml-export.php @@ -66,7 +66,7 @@ print "<schema_version>$schema_version</schema_version>"; - if ($schema_version > MAX_SCHEMA_VERSION) { + if ($schema_version > 1) { $owner_uid = $_SESSION["uid"]; print "<owner_uid>$owner_uid</owner_uid>"; } @@ -104,7 +104,7 @@ feed_id = ttrss_feeds.id $marked_qpart $unread_qpart ORDER BY ttrss_entries.id"); - } else if ($schema_version == 2) { + } else if ($schema_version >= 2 && $schema_version <= MAX_SCHEMA_VERSION) { $result = db_query($link, "SELECT ttrss_entries.title AS title, |