Issue #1640 including a test
[civicrm-core.git] / CRM / Import / ImportProcessor.php
index be909595e7e9d542763ab7b092a1c358a7158837..27508e0aea17170f0993bdf9d7dca212e1ba5d24 100644 (file)
@@ -500,7 +500,7 @@ class CRM_Import_ImportProcessor {
    * @return bool
    */
   protected function isValidRelationshipKey($key) {
-    return !empty($this->getValidRelationships()[$key]) ? TRUE : FALSE;
+    return !empty($this->getValidRelationships()[$key]);
   }
 
   /**