Completed
Pull Request — master (#82)
by
unknown
01:44 queued 01:33
created
src/Observers/CategoryUrlRewriteObserver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
 
144 144
             $storeId = $this->getSubject()->getRowStoreId($storeViewCode);
145 145
             $category = $this->getCategoryByPkAndStoreId($this->mapPath($path), $storeId);
146
-            if ($storeViewCodeValue ===  StoreViewCodes::ADMIN && $category) {
146
+            if ($storeViewCodeValue === StoreViewCodes::ADMIN && $category) {
147 147
                 // load the url_key attribute
148 148
                 $urlKey = $this->loadExistingUrlKey($category, $storeViewCode);
149 149
                 // if url_key attribute found and same store as searched
Please login to merge, or discard this patch.