Hi guys,
while trying to develop a module I got stuck on a retrieving $_GET variable. I think following part of code
Code:
public function generate()
{
...
if (!$this->Input->get('id'))
{
return 'blabla';
}
...
}
ruins other actions. When I run mymodule.html?id=1 browser says that the document was not found (notice that it is NOT "Page not found" generated by TYPOlight). What is strange - mymodule.html?id=0 doesn't occur any error, displays "blabla" and rest of code isn't executed.
When I remove the code above, mymodule.html not found.
Why is that? Do I miss something?
Bookmarks