diff --git a/modules/statistics/php/charts.class.inc b/modules/statistics/php/charts.class.inc index cfa4af0b3eb..2800dd359ef 100644 --- a/modules/statistics/php/charts.class.inc +++ b/modules/statistics/php/charts.class.inc @@ -82,7 +82,7 @@ class Charts extends \NDB_Page // when splitting the path, then there should be exactly 2 parts left, // "charts", and the endpoint requested. $url = ltrim( - $request->getAttribute("unhandledURI")->getURI()->getPath(), + $request->getAttribute("unhandledURI")->getPath(), '/' );