aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/export.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/export.php')
-rw-r--r--engine/lib/export.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/export.php b/engine/lib/export.php
index cbb7465ee..f49fba512 100644
--- a/engine/lib/export.php
+++ b/engine/lib/export.php
@@ -239,6 +239,7 @@
case 'entity' : $odd = new ODDEntity("","",""); break;
case 'metadata' : $odd = new ODDMetaData("","","",""); break;
case 'relationship' : $odd = new ODDRelationship("","",""); break;
+ default: throw new ImportException("Unrecognised ODD tag '$name' in import data, check version!");
}
// Now populate values