Bug in function CreateReturnLink (class.module.inc.php) - fix included

A place to discuss the testing process in beta cycles or against SVN for the CMS Made Simple CORE package.
Locked
NickR

Bug in function CreateReturnLink (class.module.inc.php) - fix included

Post by NickR »

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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Bug in function CreateReturnLink (class.module.inc.php) - fix included

Post by Ted »

Thanks.  This is fixed in svn.
Locked

Return to “[locked] Quality Assurance”