Code Duplication    Length = 3-3 lines in 2 locations

src/routing/Routing.class.php 2 locations

@@ 1216-1218 (lines=3) @@
1213
                        }
1214
1215
                        foreach ($route['par'] as $param) {
1216
                            if (isset($match[$param]) && $match[$param][1] != -1) {
1217
                                $vars[$param] = $match[$param][0];
1218
                            }
1219
                        }
1220
1221
                        foreach ($match as $name => $m) {
@@ 1311-1313 (lines=3) @@
1308
                                    $vars[$name] =& $var;
1309
                                }
1310
                                foreach ($opts['ignores'] as $ignore) {
1311
                                    if (isset($match[$ignore]) && $match[$ignore][1] != -1) {
1312
                                        $vars[$ignore] = $match[$ignore][0];
1313
                                    }
1314
                                }
1315
                            }
1316
                            $callbackSuccess = true;