From de6ea6006bca5115d84e75dfdcd308caea5a9ffa Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 2 Aug 2010 14:55:56 -0300 Subject: Minor fix --- lib/sfIsisImporter.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sfIsisImporter.class.php') 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; } -- cgit v1.2.3