nEwZ - sCRiPTz-TEAM.iNFO

A printed version of the article

Click here to view the article in its original format

nEwZ - sCRiPTz-TEAM.iNFO _ IPS Tracker - IP.Board 3.0 _ add/save note shouldn't check restrictWarnsPerDay

Added by: sCRiPTz-TEAM.iNFO Mon, 06 September 2010

In public_members_warn_warn when showing the form or saving a note the limit "restrictWarnsPerDay" is always being checked even thought we are not really adding a warn but a note.

Personally I think we should skip that check in the function _checkAccess when dealing with notes.

Source: http://community.invisionpower.com/tracker/issue-25101-addsave-note-shouldnt-check-restrictwarnsperday/

Powered by nEwZ - sCRiPTz-TEAM.iNFO
© sCRiPTz-TEAM dEv. (sCRiPTz-TEAM.iNFO)