Commit b35287c6513f59206ba27a3b98dbd488e2e0f900

Authored by alex
1 parent f2f3817f

hotfix1

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
frontend/components/UrlManager.php
... ... @@ -74,7 +74,7 @@
74 74 $request = $this->parseLanguage($request);
75 75 $path=$request->pathInfo;
76 76  
77   - if($path[strlen($path)-1]=='/'
  77 + if (strlen($path) && $path[strlen($path) - 1] == '/'
78 78 # && $path[strlen($path)-2]=='/'
79 79 )
80 80 {
... ...