We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14741eb commit 2f73fd2Copy full SHA for 2f73fd2
Model/Tag.php
@@ -130,16 +130,12 @@ public function getOwnTitle($plural = false)
130
* return tag id if tag exists
131
*
132
* @param string $identifier
133
+ * @param int $storeId
134
* @return int
135
*/
- public function checkIdentifier($identifier)
136
+ public function checkIdentifier($identifier, $storeId)
137
{
- $tag = $this->load($identifier);
138
- if ($tag->getIdentifier() == $identifier) {
139
- return $tag->getId();
140
- }
141
-
142
- return null;
+ return $this->_getResource()->checkIdentifier($identifier, $storeId);
143
}
144
145
/**
0 commit comments