diff --git a/include/componentdispatcher_class.php b/include/componentdispatcher_class.php
index <HASH>..<HASH> 100644
--- a/include/componentdispatcher_class.php
+++ b/include/componentdispatcher_class.php
@@ -47,7 +47,7 @@ class ComponentDispatcher extends Component {
         $ret["content"] = $component->HandlePayload($_REQUEST, $outputtype);
     } else if (preg_match("|^/((?:[^./]+/?)*)(?:\.(.*))?$|", $page, $m)) {
       $componentname = str_replace("/", ".", $m[1]);
-      $outputtype = any($m[2], "html");
+      $outputtype = (isset($m[2]) ? $m[2] : "html");
 
       $ret["component"] = $componentname;
       $ret["type"] = $outputtype;
- Fixed pedantic warning in component dispatcher