Fixed XF301VB\Mvc\Router::routeToController misses two "break" statements

Steffen

Well-known member
Diff:
--- XF301VB/Mvc/Router.php    2018-09-20 08:37:31.844287072 +0200
+++ XF301VB/Mvc/Router.php    2018-09-20 08:37:52.938162747 +0200
@@ -220,6 +220,7 @@
                 {
                     return $match;
                 }
+                break;
             }
 
             // vB3 / vB4 archive URLs
@@ -229,6 +230,7 @@
                 {
                     return $match;
                 }
+                break;
             }
         }
 
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF301VB release (1.1.4).

Change log:
Add missing breaks in switch statements.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Back
Top Bottom