aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/sfIsisImporterEntities.class.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sfIsisImporterEntities.class.php b/lib/sfIsisImporterEntities.class.php
index 5c85c3d..7cf8258 100644
--- a/lib/sfIsisImporterEntities.class.php
+++ b/lib/sfIsisImporterEntities.class.php
@@ -185,7 +185,11 @@ class sfIsisImporterEntities {
}
// Determine parse method.
- if (method_exists($this, 'parse'. $entity .'Name'))
+ if (method_exists($this, 'parse'. $entity))
+ {
+ $method = 'parse'. $entity;
+ }
+ elseif (method_exists($this, 'parse'. $entity .'Name'))
{
$method = 'parse'. $entity .'Name';
}