File tree 1 file changed +1
-2
lines changed
src/Magento/FunctionalTestingFramework/DataGenerator/Persist
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,6 @@ private function resolveUrlReference($urlIn, $entityObjects)
201
201
202
202
if (!empty ($ matchedParams )) {
203
203
foreach ($ matchedParams [0 ] as $ paramKey => $ paramValue ) {
204
-
205
204
$ paramEntityParent = "" ;
206
205
$ matchedParent = [];
207
206
$ dataItem = $ matchedParams [1 ][$ paramKey ];
@@ -213,6 +212,7 @@ private function resolveUrlReference($urlIn, $entityObjects)
213
212
}
214
213
215
214
foreach ($ entityObjects as $ entityObject ) {
215
+ $ param = null ;
216
216
217
217
if ($ paramEntityParent === "" || $ entityObject ->getType () == $ paramEntityParent ) {
218
218
$ param = $ entityObject ->getDataByName (
@@ -223,7 +223,6 @@ private function resolveUrlReference($urlIn, $entityObjects)
223
223
224
224
if (null !== $ param ) {
225
225
$ urlOut = str_replace ($ paramValue , $ param , $ urlOut );
226
- $ param = null ;
227
226
continue ;
228
227
}
229
228
}
You can’t perform that action at this time.
0 commit comments