I spotted a bug whilist using the news module:
http://forum.cmsmadesimple.org/index.ph ... 359.0.html
a quick dig into the code reveals that the function reateReturnLink in class.module.inc.php is calling the GetURL function with the optional parameter false.
This prevents the checking iof modrewrite being enabled in GetURL causing the error linked above.
So you simply need to remove the optional parameter and GetURL and CreateReturnLink will function correctly (this is how function RedirectContent in the same file uses GetURL).
Cheers Nick
Bug in function CreateReturnLink (class.module.inc.php) - fix included
Re: Bug in function CreateReturnLink (class.module.inc.php) - fix included
Thanks. This is fixed in svn.

