diff --git a/plugins/FeedsNodeProcessor.inc b/plugins/FeedsNodeProcessor.inc index cc8619e0ded12456f222d2fc3a42d04a5a577676..f2db5963fee1c859c8e5dd58d7d6a34916866c41 100644 --- a/plugins/FeedsNodeProcessor.inc +++ b/plugins/FeedsNodeProcessor.inc @@ -114,7 +114,7 @@ class FeedsNodeProcessor extends FeedsProcessor { * Validates a node. */ protected function entityValidate($entity) { - if (empty($entity->uid)) { + if (!isset($entity->uid) || !is_numeric($entity->uid)) { $entity->uid = $this->config['author']; } }