From ebb510ce61d2c3594fcaea81d2f3f0bcc9b635fa Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 30 Nov 2005 09:36:54 +0100 Subject: [PATCH] better error message on invalid schema in xml-export --- xml-export.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xml-export.php b/xml-export.php index 13ab65b9..c97b964f 100644 --- a/xml-export.php +++ b/xml-export.php @@ -34,8 +34,9 @@ $schema_version = db_fetch_result($result, 0, "schema_version"); if ($schema_version != SCHEMA_VERSION) { - print "Error: database schema is invalid - (got version $schema_version; expected ".SCHEMA_VERSION.")"; + print "Source database schema is invalid + (got version $schema_version; expected ".SCHEMA_VERSION.")"; + print ""; return; } -- 2.39.5