Created
August 21, 2016 13:30
-
-
Save bitamar/a60581d3e42d740d255692a41a3ffc9d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/plugins/destinations/term.inc b/plugins/destinations/term.inc | |
index f01c55f..37641a4 100644 | |
--- a/plugins/destinations/term.inc | |
+++ b/plugins/destinations/term.inc | |
@@ -224,7 +224,7 @@ class MigrateDestinationTerm extends MigrateDestinationEntity { | |
} | |
$this->prepare($term, $row); | |
- if (empty($term->name)) { | |
+ if ($term->name == '') { | |
throw new MigrateException(t('Taxonomy term name is required.')); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment