From 71e594b9b8ca7983afcdf517456638ffd578cf88 Mon Sep 17 00:00:00 2001 From: gaurav-bajpai Date: Thu, 29 Oct 2015 09:12:51 +0530 Subject: [PATCH] Issue #2574769 by gaurav.bajpai: Typo in line 390 of file: node_gallery_api.inc --- node_gallery_api.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node_gallery_api.inc b/node_gallery_api.inc index d399457..b479167 100644 --- a/node_gallery_api.inc +++ b/node_gallery_api.inc @@ -387,7 +387,7 @@ function node_gallery_api_batch_node_save($nodes, &$context) { function node_gallery_api_get_item_field_name($gallery_type = NULL, $item_type = NULL, $relationship_type_id = NULL) { if (empty($relationship_type_id)) { $relationship_type = node_gallery_api_get_relationship_type($gallery_type, $item_type); - $relationship_id = $relationship_type->id; + $relationship_type_id = $relationship_type->id; } if (!empty($relationship_type_id)) { return NODE_GALLERY_REF_FIELD . '_' . $relationship_type_id; @@ -1099,4 +1099,4 @@ class NodeGalleryRelationshipTypeMetadataController extends EntityDefaultMetadat return $info; } -} \ No newline at end of file +} -- 1.9.1