diff options
-rw-r--r-- | lib/sfIsisImporter.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sfIsisImporter.class.php b/lib/sfIsisImporter.class.php index de4b887..a112155 100644 --- a/lib/sfIsisImporter.class.php +++ b/lib/sfIsisImporter.class.php @@ -245,7 +245,7 @@ class sfIsisImporter extends IsisConnector $findby = 'findOneBy'. ucfirst($by); $data = Doctrine_Core::getTable($entity)->{$findby}($value); - if (!$data) + if ($data) { return $data; } |