[SOLVED]Issue with $this->RestrictUnknownParams

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

[SOLVED]Issue with $this->RestrictUnknownParams

Post by Wishbone »

I'm in the middle of creating a module for my karting club's website.. I copied a module from my own website and started making changes. I forgot about the SetParameters function in the .module.php.. I had left the new module with the old parameter definitions... The issue is that I am still getting my parameters... Any reason why the RestrictUnknownParams call might not be working? CMSMS 1.6.4 "Moindou"
Last edited by Wishbone on Wed Dec 23, 2009 5:04 pm, edited 1 time in total.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Issue with $this->RestrictUnknownParams

Post by Wishbone »

OK.. I figured out my own issue.... It properly restricts front-end actions, however doesn't block admin actions.. I'm OK with this.
Post Reply

Return to “Developers Discussion”